-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
36 lines (36 loc) · 879 Bytes
/
.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
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"react": {
"pragma": "React" // Pragma to use, default to "React"
}
},
"plugins": [
"react"
],
"rules": {
"indent": [0, "tab"],
"linebreak-style": [0, "windows"],
"quotes": [2, "single"],
"semi": [2, "always"],
"comma-dangle": [2, "never"],
"comma-spacing": [2, {"before": false, "after": true } ],
"curly": [2, "multi-line"],
"no-unused-vars": [2, {"vars": "local"} ],
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"strict": 0,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2
}
}