-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.eslintrc.json
124 lines (122 loc) · 3.2 KB
/
.eslintrc.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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"globals": {
"global": false,
"require": false,
"module": true,
"process": false,
"Buffer": false,
"VERSION": false,
"LICENSE": false
},
"rules": {
"comma-dangle": [1,"always-multiline"],
"no-cond-assign": [1,"always"],
"no-console": [1, {"allow": ["warn", "error"]}],
"no-constant-condition": 1,
"no-case-declarations": 0,
"no-control-regex": 1,
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 1,
"no-empty-character-class": 1,
"no-empty": 2,
"no-ex-assign": 2,
"no-extra-parens": [1,"all"],
"no-extra-semi": 2,
"no-func-assign": 1,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 1,
"no-negated-in-lhs": 1,
"no-obj-calls": 1,
"no-regex-spaces": 1,
"no-sparse-arrays": 1,
"no-unreachable": 1,
"use-isnan": 2,
"valid-jsdoc": 1,
"valid-typeof": 1,
"no-unexpected-multiline": 1,
"consistent-return": 1,
"curly": [1,"all"],
"dot-location": [2,"property"],
"eqeqeq": [2,"smart"],
"no-alert": 1,
"no-caller": 2,
"no-else-return": 1,
"no-eval": 2,
"no-extend-native": 1,
"no-extra-bind": 1,
"no-fallthrough": 1,
"no-floating-decimal": 1,
"no-implicit-coercion": 2,
"no-implied-eval": 2,
"no-iterator": 1,
"no-lone-blocks": 1,
"no-loop-func": 1,
"no-multi-spaces": 1,
"no-native-reassign": 1,
"no-new-wrappers": 1,
"no-octal-escape": 1,
"no-process-env": 0,
"no-proto": 1,
"no-redeclare": 1,
"no-return-assign": [2,"except-parens"],
"no-script-url": 1,
"no-self-compare": 1,
"no-sequences": 2,
"no-throw-literal": 2,
"no-unused-expressions": 1,
"no-useless-call": 1,
"no-void": 2,
"yoda": 1,
"strict": [1,"never"],
"no-catch-shadow": 1,
"no-delete-var": 1,
"no-label-var": 1,
"no-undef": 1,
"no-undefined": 1,
"no-unused-vars": 1,
"array-bracket-spacing": [1,"never",{}],
"brace-style": [2,"1tbs",{}],
"camelcase": [2,{"properties":"always"}],
"comma-spacing": 1,
"comma-style": 1,
"eol-last": 2,
"indent": [1, 2, {"SwitchCase": 1}],
"key-spacing": [2,{"afterColon":true}],
"linebreak-style": [1,"unix"],
"new-cap": [2,{"newIsCap":true,"capIsNew":true}],
"new-parens": 1,
"newline-after-var": [1,"always"],
"no-array-constructor": 1,
"no-lonely-if": 1,
"no-mixed-spaces-and-tabs": [2],
"no-multiple-empty-lines": [1,{"max":2}],
"no-nested-ternary": 1,
"no-spaced-func": 2,
"no-trailing-spaces": [1,{"skipBlankLines":false}],
"no-unneeded-ternary": 1,
"quotes": [1,"single","avoid-escape"],
"semi": [2,"always"],
"space-before-blocks": [2,"always"],
"space-in-parens": [1,"never"],
"space-infix-ops": [1,{"int32Hint":true}],
"space-unary-ops": [2,{"words":true,"nonwords":false}],
"spaced-comment": [2,"always",{}],
"constructor-super": 1,
"no-const-assign": 2,
"no-this-before-super": 2,
"no-var": 1,
"prefer-const": 1,
"prefer-spread": 1,
"require-yield": 1,
"keyword-spacing": [1, {
"after": true
}]
}
}