-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
45 lines (45 loc) · 1.3 KB
/
.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
40
41
42
43
44
45
{
"parser": "babel-eslint",
"plugins": ["flowtype"],
"env": {
"browser": true,
"node": true,
"jest": true
},
"extends": [
"airbnb",
"plugin:flowtype/recommended"
],
"rules": {
"arrow-body-style": 0,
"arrow-parens": [1, "always"],
"comma-dangle": [1, "only-multiline"],
"import/prefer-default-export": 0,
"import/no-unresolved": [2, { "ignore": ["atom"] }],
"import/extensions": [2, { "atom": "never" }],
"jsx-a11y/no-static-element-interactions": 0,
"jsx-quotes": [1, "prefer-single"],
"no-mixed-operators": ["warn", {"groups": [["&", "|", "^", "~", "<<", ">>", ">>>"], ["&&", "||"]]}],
"no-param-reassign": 0,
"no-plusplus": 0,
"no-trailing-spaces": [1, { "skipBlankLines": true }],
"no-unused-vars": 1,
"one-var": ["warn", { "initialized": "never" }],
"one-var-declaration-per-line": ["warn", "initializations"],
"padded-blocks": 1,
"prefer-template": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/no-unused-prop-types": 1,
"react/prefer-stateless-function": 1,
"react/prop-types": 1,
"react/sort-comp": [1, { "order": ["type-annotations"]}],
"semi": 1,
"spaced-comment": 0,
},
"settings": {
"import/ignore": "atom"
},
"globals": {
"atom": false
}
}