This repository has been archived by the owner on Dec 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
59 lines (59 loc) · 1.72 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
{
"extends": "eslint:recommended",
"env": {
"node": true,
"browser": true,
"jquery": true,
"es6": true,
"commonjs": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"plugins": [],
"rules": {
"strict": 2,
"semi": 2,
"indent": [2, "tab", {"SwitchCase": 1}],
"quotes": [2, "single", "avoid-escape"],
"comma-style": [2, "last"],
"arrow-body-style": 0,
"arrow-parens": 2,
"arrow-spacing": 2,
"generator-star-spacing": 2,
"no-useless-constructor": 2,
"no-var": 0,
"object-shorthand": 2,
"prefer-arrow-callback": 0,
"prefer-const": 2,
"prefer-reflect": 0,
"prefer-rest-params": 2,
"prefer-spread": 2,
"prefer-template": 0,
"require-yield": 2,
"template-curly-spacing": 2,
"yield-star-spacing": 2,
"semi-spacing": [2, {"before": false, "after": true}],
"block-spacing": [2, "always"],
"comma-spacing": [2, {"before": false, "after": true}],
"space-in-parens": [2, "never"],
"keyword-spacing": [2, {"before": true, "after": true, "overrides": {}}],
"space-infix-ops": [2, {"int32Hint": false}],
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"space-before-function-paren": [2, "always"],
"spaced-comment": [2, "always"],
"space-before-blocks": 2,
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"no-extra-parens": [2, "all", { "conditionalAssign": false }],
"comma-dangle": [2, "always-multiline"],
"no-unused-vars": [2, { "vars": "all", "args" : "after-used" }],
"no-array-constructor": 2,
"no-new-object": 2,
"no-new-wrappers": 2,
"no-console": 0,
"eol-last": 2,
"consistent-this": 2,
"require-jsdoc": 1
}
}