-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
68 lines (67 loc) · 1.67 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
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "script",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"destructuring": true,
"forOf": true,
"templateStrings": true,
"restParams": true,
"spread": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"objectLiteralComputedProperties": true
}
},
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true,
},
"rules": {
"block-scoped-var": 2,
"comma-dangle": [2, "always-multiline"],
"consistent-return": 2,
"consistent-this": [2, "self"],
"eqeqeq": 2,
"no-alert": 2,
"no-cond-assign": 2,
"no-constant-condition": 2,
"no-control-regex": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 2,
"no-empty": 2,
"no-eval": 2,
"no-ex-assign": 2,
"no-func-assign": 2,
"no-negated-in-lhs": 2,
"no-obj-calls": 2,
"no-redeclare": [2, {"builtinGlobals": true}],
"no-sparse-arrays": 2,
"no-undef": 2,
"no-unreachable": 2,
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"strict": [2, "global"],
"use-isnan": 2,
"valid-typeof": 2,
"default-case": 1,
"global-require": 1,
"no-debugger": 1,
"no-extra-boolean-cast": 1,
"no-extra-semi": 1,
"no-regex-spaces": 1,
"no-unexpected-multiline": 1,
"no-unused-vars": [1, {"vars": "all", "args": "after-used"}],
"no-useless-call": 1,
"valid-jsdoc": 1,
"no-irregular-whitespace": 1,
}
}