-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
39 lines (39 loc) · 908 Bytes
/
.eslintrc
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
{
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"plugins": [
"react",
"jsx-a11y"
],
"rules": {
"comma-dangle": [1, "always-multiline"],
"consistent-return": 0,
"default-case": [0],
"import/first": 0,
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default": 0,
"import/prefer-default-export": 0,
"no-fallthrough": 0,
"no-multiple-empty-lines": [2, {"max": 1, "maxEOF": 1}],
"object-curly-spacing": ["error", "always"],
"semi": ["error", "never"],
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": 0,
"react/react-in-jsx-scope": 0,
"react/sort-prop-types": [2, {
"ignoreCase": true,
"requiredFirst": true,
"callbacksLast": true
}]
},
"env": {
"node": true,
"browser": true,
"es6": true,
"jest": true,
"jasmine": true
}
}