-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
40 lines (40 loc) · 901 Bytes
/
.eslintrc.js
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
module.exports = {
"parser": "babel-eslint",
"env": {
"node": true,
"es6": true
},
"ecmaFeatures": {
"modules": true
},
"extends": "airbnb",
"plugins": [
// "react"
],
"globals": {
"_": false
},
"rules": {
"max-len": [ 1, 200, 4, {
"ignoreUrls": true
} ],
"array-bracket-spacing": [ 1, "always" ],
"object-curly-spacing": [ 1, "always", {
"objectsInObjects": false
} ],
"func-names": 0,
"vars-on-top": 0,
"space-in-parens": 0,
"space-before-function-parens": 0,
"eqeqeq": 0,
"computed-property-spacing": [ 2, "always" ],
"spaced-comment": [ 2, "always", {
"exceptions": [ "-", "+", "/", "@" ],
"markers": [ "/", "@constr", "@pure" ]
} ],
"no-param-reassign": 0,
// "react/prop-types": 1,
// "react/prefer-stateless-function": 0,
// "react/self-closing-comp": 1
}
}