-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
43 lines (43 loc) · 1.04 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
{
"extends": "airbnb",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
sourceType: "module"
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"parser": "babel-eslint",
"rules": {
"max-len": 0,
"func-names": 0,
"comma-dangle": 0,
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
"indent": [2, 4, { "SwitchCase": 1 }],
"no-use-before-define": [2, "nofunc"],
"react/jsx-indent-props": [2, 4],
"quotes": [2, "single"],
"strict": [2, "never"],
"babel/generator-star-spacing": 1,
"babel/new-cap": 1,
"babel/object-shorthand": 1,
"babel/arrow-parens": 1,
"babel/no-await-in-loop": 1,
"jsx-a11y/anchor-has-content": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-indent": [2, 4],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
"react/jsx-no-bind": 0,
"react/prefer-stateless-function": 0
},
"plugins": [
"babel",
"react"
]
}