-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
48 lines (48 loc) · 1.07 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
44
45
46
47
48
{
"extends": "airbnb",
"ecmaFeatures": {
"modules": true,
"classes": true,
"generators": true
},
"parser": "babel-eslint",
"plugins": [
"babel"
],
"env": {
"es6": true,
"node": true
},
"rules": {
"max-len": 0,
"strict": [2, "global"],
"semi": [2, "never"],
"quotes": [2, "double"],
"comma-dangle": [2, "never"],
"func-names": 0,
"space-before-function-paren": [2, "never"],
"generator-star-spacing": 0,
"padded-blocks": 0,
"prefer-const": 0,
"prefer-template": 0,
"no-undef": 1,
"no-var": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"no-console": 1,
"no-unused-vars": 1,
"no-trailing-spaces": [1, { "skipBlankLines": true }],
"no-unreachable": 1,
"no-alert": 0,
"react/prefer-es6-class": [2, "never"],
"react/prop-types": 0,
"react/jsx-filename-extension": 0,
"import/imports-first": 0,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default-member": 1,
"prefer-spread": 0
},
"globals": {
"chrome": true
}
}