-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
74 lines (74 loc) · 2.07 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"rules": {
"array-bracket-spacing": [2, "never"],
"arrow-spacing": 2,
"block-spacing": [2, "always"],
"brace-style": [2, "1tbs"],
"camelcase": [2, {"properties": "always"}],
"comma-dangle": [2, "never"],
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
"complexity": [2, 10],
"consistent-this": [0, "self"],
"curly": [2, "multi-line"],
"dot-notation": 2,
"dot-location": [2, "property"],
"eqeqeq": [2, "smart"],
"func-style": [2, "declaration"],
"indent": [2, 2, {"SwitchCase": 1, "VariableDeclarator": 2}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"linebreak-style": [2, "unix"],
"no-alert": 2,
"no-console": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 2,
"no-empty-character-class": 2,
"no-eval": 2,
"no-ex-assign": 2,
"no-extra-semi": 2,
"no-floating-decimal": 2,
"no-inner-declarations": [2, "both"],
"no-irregular-whitespace": 2,
"no-multi-spaces": 2,
"no-multiple-empty-lines": [2, {"max": 1}],
"no-nested-ternary": 2,
"no-obj-calls": 2,
"no-sparse-arrays": 2,
"no-throw-literal": 2,
"no-undef": 2,
"no-unreachable": 2,
"no-unused-vars": [2, {"args": "all", "argsIgnorePattern": "^_", "vars": "all", "varsIgnorePattern": "^_"}],
"no-useless-call": 2,
"no-useless-concat": 2,
"no-var": 2,
"no-void": 2,
"object-shorthand": 2,
"operator-linebreak": [2, "before"],
"padded-blocks": 0,
"prefer-template": 2,
"quotes": [2, "single", "avoid-escape"],
"radix": 2,
"semi": [2, "always"],
"semi-spacing": [2, {"before": false, "after": true}],
"keyword-spacing": 2,
"space-before-blocks": 2,
"space-before-function-paren": 0,
"space-in-brackets": 0,
"space-infix-ops": 2,
"spaced-comment": 2,
"strict": 0,
"wrap-iife": [2, "inside"]
},
"env": {
"browser": true,
"es6": true
},
"ecmaFeatures": {
"modules": true
},
"parserOptions": {
"sourceType": "module"
},
}