-
Notifications
You must be signed in to change notification settings - Fork 35
/
.eslintrc
34 lines (34 loc) · 951 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
{
"extends": "airbnb",
"env": {
"browser": true
},
"globals" : {
"__DEV__" : false,
"__PROD__" : false,
"__DEBUG__" : false
},
"rules": {
"comma-dangle": [1, "never"],
"func-names": 0,
"key-spacing": 0,
"no-else-return": 0,
"no-multi-spaces": 0,
"jsx-quotes": [2, "prefer-single"],
"one-var": 0,
"newline-after-var": 0,
"quote-props": 0,
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "never"],
"semi-spacing": 0,
"sort-vars": 0,
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "always"],
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"space-return-throw-case": 2,
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!"] }]
}
}