-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.eslintrc.prod.json
67 lines (67 loc) · 1.82 KB
/
.eslintrc.prod.json
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"globals": {
"$": false,
"module": false,
"require": false,
"ShadyCSS": false,
"Vue": false
},
"rules": {
"array-bracket-newline": [2, { "minItems": 3 }],
"array-bracket-spacing": [2, "always"],
"array-element-newline": [2, {
"minItems": 3,
"multiline": true
}],
"brace-style": [2, "1tbs", {
"allowSingleLine": false
}],
"camelcase": 2,
"comma-dangle": [2, "always-multiline"],
"comma-style": [2, "last"],
"complexity": [2, 10],
"curly": [2, "all"],
"eol-last": 2,
"eqeqeq": 2,
"getter-return": 0,
"indent": [2, 4, { "SwitchCase": 1 }],
"keyword-spacing": 2,
"max-len": [2, 120, { "ignoreUrls": true }],
"new-cap": 2,
"no-bitwise": 2,
"no-caller": 2,
"no-empty": 2,
"no-multiple-empty-lines": [2, {
"max": 1,
"maxBOF": 0
}],
"no-prototype-builtins": 0,
"no-self-assign": 0,
"no-undef": 2,
"no-unused-expressions": [2, {
"allowTernary": true,
"allowShortCircuit": true
}],
"no-unused-vars": [2, {
"argsIgnorePattern": "^_"
}],
"no-use-before-define": [2, { "functions": false }],
"object-curly-spacing": [2, "always"],
"quotes": [2, "single"],
"semi": [2, "always"],
"space-before-function-paren": [2, "always"],
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"space-unary-ops": 2,
"strict": 0,
"wrap-iife": [2, "inside"]
}
}