-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
35 lines (35 loc) · 913 Bytes
/
.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
{
"ecmaFeatures": {
"blockBindings": true,
"forOf": true,
"jsx": true
},
"extends": "airbnb",
"globals": {
"localStorage": true
},
"parser": "babel-eslint",
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"arrow-body-style": 0,
"semi": 0,
"func-names": 0,
"react/jsx-quotes": 0,
"jsx-quotes": [2, "prefer-double"],
"no-use-before-define": [2, "nofunc"],
"new-cap": 0,
"no-param-reassign": 0,
"no-unused-vars": 1,
"indent": [2, 2, {"SwitchCase": 1}],
"react/jsx-boolean-value": 0,
"id-length": [2, {"exceptions": ["x", "y", "Q", "e"]}],
"max-len": [2, 120, 2, {"ignoreUrls": true}],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.spec.js"]}],
"import/prefer-default-export": 0
},
"env": {
"node": true,
"mocha": true,
"jasmine": true,
},
}