forked from SiZapPaaiGwat/violet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
48 lines (48 loc) · 1.15 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"],
"env": {
"browser": true,
"node": true,
"mocha": true
},
"ecmaFeatures": {
"jsx": true
},
"parser": "babel-eslint",
"plugins": [
"react"
],
"rules": {
"arrow-body-style": ["error", "always"],
"no-script-url": 0,
"no-console": 0,
"new-cap": 0,
"prefer-const": 0,
"semi": [2, "never"],
"constructor-super": 2,
"comma-dangle": 0,
"func-names": 0,
"guard-for-in": 0,
"one-var": [2, { "initialized": "never" }],
"key-spacing": 0,
"no-undef": 2,
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
"babel/object-shorthand": 0,
"spaced-comment": 0,
"vars-on-top": 0,
"id-length": 0,
"no-magic-numbers": 0,
"object-curly-spacing": [2, "never"],
"space-in-parens": [2, "never"],
"keyword-spacing": ["error", {"after": true}],
"space-before-blocks": [2, { "functions": "always", "keywords": "always" }],
"space-before-function-paren": [2, "never"],
"react/prefer-es6-class": 0,
"react/prefer-stateless-function": 0,
"react/sort-comp": 0,
"prefer-arrow-callback": 0
},
"globals": {
"App": true
}
}