-
Notifications
You must be signed in to change notification settings - Fork 30
/
.eslintrc.json
48 lines (48 loc) · 1.25 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"jest/globals": true
},
"extends": "airbnb",
"plugins": [
"babel",
"eslint-plugin-import",
"eslint-plugin-react",
"jest",
"jsx-a11y"
],
"rules": {
"arrow-parens": 0,
"babel/semi": 2,
"comma-dangle": 0,
"default-param-last": 0,
"import/no-extraneous-dependencies": [
"error", {
"devDependencies": ["**/*.test.js", "**/*.stories.js"],
"optionalDependencies": false,
"peerDependencies": false
}
],
"jsx-a11y/label-has-for": 0,
"jsx-a11y/label-has-associated-control": 2,
"max-len": 0,
"no-else-return": 0,
"no-multi-assign": 0,
"no-nested-ternary": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-return-assign": 0,
"no-underscore-dangle": 0,
"prefer-destructuring": 0,
"prefer-object-spread": 0,
"prefer-template": 0,
"quote-props": 0,
"react/jsx-filename-extension": [
1, {
"extensions": [".js", ".jsx"]
}
],
"react/prefer-stateless-function": 1,
"semi": 2
}
}