This repository was archived by the owner on Nov 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.eslintrc
More file actions
executable file
·47 lines (47 loc) · 1.26 KB
/
.eslintrc
File metadata and controls
executable file
·47 lines (47 loc) · 1.26 KB
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
{
"extends": "airbnb",
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"rules": {
"object-curly-spacing": [2, "never"],
"quotes": [2, "single"],
"strict": [2, "never"],
"jsx-a11y/href-no-hash": "off",
"no-unused-vars": [2, {"args": "none"}],
"max-len": [2, 200],
"padded-blocks": [2, {"classes": "always"}],
"indent": [2, 4, { "SwitchCase": 1 }],
"no-underscore-dangle": [0],
"import/first": [0],
"no-console": [2, {"allow": ["error", "info"]}],
"arrow-parens": [2, "always"],
"class-methods-use-this": [0],
"dot-notation": [0],
"react/no-render-return-value": [0],
"react/jsx-indent": [2, 4],
"react/jsx-indent-props": [2, 4],
"react/jsx-boolean-value": [0],
"react/prop-types": [0],
"react/sort-comp": [0],
"react/prefer-stateless-function": [2, {"ignorePureComponents": true}],
"filenames/no-index": [2],
"newline-after-var": [2],
"newline-before-return": [2],
"comma-dangle": [2, {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}]
},
"plugins": [
"react",
"jsx-a11y",
"import",
"filenames"
]
}