-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
executable file
·94 lines (94 loc) · 2.66 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"parser": "espree",
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"env": {
"es6": true,
"browser": false,
"node": true,
"mocha": true
},
"globals": {
"Promise": true,
"Map": true
},
"root": true,
"rules": {
"array-bracket-spacing": [1, "never"],
"arrow-body-style": [1, "as-needed"],
"arrow-spacing": [1],
"arrow-parens": [1, "as-needed"],
"brace-style": [1, "1tbs", { "allowSingleLine": true }],
"camelcase": [1],
"callback-return": [1],
"comma-dangle": [1, "always-multiline"],
"comma-spacing": [1, {"before": false, "after": true}],
"computed-property-spacing": [1, "never"],
"curly": [1, "multi-line"],
"dot-location": [1, "property"],
"eol-last": [0],
"func-style": [1, "declaration"],
"generator-star-spacing": [1, {"before": false, "after": true}],
"indent": [1, 2, {
"MemberExpression": 0,
"VariableDeclarator": {
"var": 2,
"let": 2,
"const": 3
},
"SwitchCase": 1
}],
"key-spacing": [1, {"beforeColon": false, "afterColon": true}],
"keyword-spacing": [1, {
"after": true,
"overrides": {
"if": { "after": false},
"switch": {"after": false},
"for": {"after": false},
"catch": {"after": false},
"while": {"after": false}
}
}],
"new-parens": [1],
"no-const-assign": [2],
"no-dupe-args": [2],
"no-dupe-class-members": [2],
"no-dupe-keys": [2],
"no-duplicate-case": [2],
"no-ex-assign": [2],
"no-fallthrough": [2],
"no-mixed-requires": [1, true],
"no-multi-spaces": [0],
"no-multiple-empty-lines": [1, {"max": 2}],
"no-shadow": [0],
"no-trailing-spaces": [1, {"skipBlankLines": true}],
"no-undef": [1],
"no-underscore-dangle": [0],
"no-unneeded-ternary": [1],
"no-unreachable": [2],
"no-unused-vars": [1, {"vars": "local", "argsIgnorePattern": "log"}],
"no-use-before-define": [2, "nofunc"],
"no-var": [1],
"object-curly-spacing": [1, "never"],
"object-shorthand": [1, "always"],
"prefer-arrow-callback": [1],
"prefer-const": [1],
"prefer-rest-params": [1],
"prefer-spread": [1],
"prefer-template": [1],
"quotes": [1, "single", {"allowTemplateLiterals": true}],
"require-await": [1],
"require-yield": [1],
"semi": [1, "always"],
"space-before-blocks": [1],
"space-before-function-paren": [1, {"anonymous": "never", "named": "never", "asyncArrow": "always"}],
"space-infix-ops": [1],
"strict": [1, "global"],
"template-curly-spacing": [1, "never"],
"valid-typeof": [2]
}
}