-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
41 lines (41 loc) · 1.09 KB
/
.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
41
module.exports = {
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 6,
"sourceType":"module"
},
"rules": {
"no-console":0,
"consistent-return": 0,
"no-use-before-define": 0,
"no-shadow": 0,
"no-else-return": 0,
"no-unused-vars": 0,
"camelcase": 2,
"max-len": [1, 200],
"one-var": 0,
"one-var-declaration-per-line": 0,
"no-whitespace-before-property": 0,
"space-before-function-paren": [2, "always"],
"no-underscore-dangle": [2, { allow: ["__", "_id", "_fileName"] }],
"radix": 0,
"new-cap": 0,
"wrap-iife": [2, "any"],
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"keyword-spacing": 2,
"quotes": ["error", "single"],
"semi": ["error", "always"]
},
"globals":{
"StaticDomain": false
}
};