-
Notifications
You must be signed in to change notification settings - Fork 12
/
.eslintrc.json
52 lines (52 loc) · 1.25 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"extends": ["google", "plugin:react/recommended"],
"parser": "babel-eslint",
"plugins": ["react"],
"rules": {
"strict": 0,
"max-len": "off",
"operator-linebreak": [2, "after", {"overrides": {"?":"ignore", ":": "ignore"}}],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"no-class-assign": 0,
"quote-props": 1,
"require-jsdoc": 0,
"one-var": "off",
"eqeqeq": [2, "smart"],
"no-multiple-empty-lines": [2, {"max": 1}],
"max-params": [1, 3],
"no-warning-comments": 0,
"no-nested-ternary": 0,
"react/prop-types": 0,
"space-infix-ops": 0,
"comma-dangle": 0,
"arrow-parens": 0,
"switch-colon-spacing": 0,
"quote-props": 0,
"no-invalid-this": 0,
"no-unused-vars": [1, {
"vars": "local",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}]
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"document": true,
"navigator": true,
"window": true,
"fetch": true,
"localStorage": true,
"describe": true,
"it": true,
"expect": true,
"beforeEach": true,
"beforeAll": true
}
}