-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
43 lines (43 loc) · 1.13 KB
/
.eslintrc
File metadata and controls
43 lines (43 loc) · 1.13 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"classes": true,
"blockBindings": true
}
},
"plugins": [
"react"
],
"rules": {
"quotes": ["error", "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"strict": [0, "global"],
"no-underscore-dangle": 0,
"no-loop-func": 0,
"no-undef": 2,
"consistent-return": 0,
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"no-console": 1,
"eol-last": 1,
"no-multiple-empty-lines": [1, {"max": 1}],
"max-len": [2, 120, 4],
"camelcase": 0,
"no-unused-vars": [2, { "vars": "all", "args": "after-used" }],
"jsx-quotes": [1, "prefer-double"],
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"operator-linebreak": ["error", "after", { "overrides": { ":": "before" } }],
"react/react-in-jsx-scope": 1,
"no-case-declarations": 0,
"keyword-spacing": ["error", {"before": true, "after": true}],
"space-before-blocks": "error"
},
"env": {
"es6": true,
"browser": true,
"node": true
}
}