forked from nathanstitt/dayz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
41 lines (41 loc) · 1.03 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
{
"parser": "babel-eslint",
"plugins": [ "react" ],
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"spread": true,
"templateStrings": true,
"jsx": true
},
"rules": {
"consistent-return": [1],
"key-spacing": [1, {"beforeColon": false, "afterColon": true, "mode": "minimum"}],
"quotes": [0],
"semi": [1],
"new-cap": [1],
"max-len": [1, 100, 4, {"ignoreComments": true, "ignoreUrls": true }],
"no-multi-spaces": [2, {"exceptions":{
"ImportDeclaration":true,"VariableDeclarator":true, "IfStatement": true
}}],
"no-shadow": [1],
"eqeqeq": [2, "smart"],
"no-unused-vars": [1],
"no-use-before-define": [2, "nofunc"],
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1
}
}