-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
55 lines (43 loc) · 1.21 KB
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
parser: babel-eslint
plugins:
- prettier
extends:
- airbnb
- plugin:prettier/recommended
env:
node: true
browser: true
rules:
prettier/prettier: [error, { singleQuote: true }]
prettier/prettier.semi: false
camelcase: off
linebreak-style: off
eqeqeq: [error, smart]
no-dupe-keys: error
no-return-assign: off
consistent-return: off
import/prefer-default-export: on
import/no-extraneous-dependencies: off
react/jsx-filename-extension: [error, { extensions: [.js] }]
react/jsx-one-expression-per-line: off
react/jsx-closing-bracket-location: off
react/button-has-type: off
react/no-unused-prop-types: off
react/destructuring-assignment: off
react/jsx-wrap-multilines: off
react/prop-types: off
react/no-unescaped-entities: [error, { forbid: ['>', '}'] }]
react/array-type: false
jsx-a11y/anchor-is-valid: [ error, {
components: [ "Link" ],
specialLink: [ "to", "hrefLeft", "hrefRight" ],
aspects: [ "noHref", "invalidHref", "preferButton" ]
}]
jsx-a11y/label-has-for: off
jsx-a11y/label-has-associated-control: [ 2, {
labelComponents: ["label"],
labelAttributes: ["htmlFor"],
controlComponents: ["input"]
}]
no-plusplus: off
radix: [error, "as-needed"]