UNPKG

4.59 kBPlain TextView Raw
1{
2 "ecmaFeatures": {
3 },
4 "env": {
5 "node": true
6 },
7 "rules": {
8 "comma-dangle": [2, "never"],
9 "no-cond-assign": 2,
10 "no-constant-condition": 2,
11 "no-control-regex": 2,
12 "no-debugger": 2,
13 "no-dupe-keys": 2,
14 "no-empty": 2,
15 "no-empty-character-class": 2,
16 "no-ex-assign": 2,
17 "no-extra-boolean-cast": 2,
18 "no-extra-parens": 0,
19 "no-extra-semi": 2,
20 "no-func-assign": 2,
21 "no-inner-declarations": 2,
22 "no-invalid-regexp": 2,
23 "no-irregular-whitespace": 2,
24 "no-negated-in-lhs": 2,
25 "no-obj-calls": 2,
26 "no-regex-spaces": 2,
27 "no-sparse-arrays": 2,
28 "no-unreachable": 2,
29 "use-isnan": 2,
30 "valid-typeof": 2,
31 "block-scoped-var": 0,
32 "consistent-return": 2,
33 "curly": [
34 1,
35 "multi-line"
36 ],
37 "default-case": 2,
38 "dot-notation": 2,
39 "eqeqeq": 2,
40 "guard-for-in": 2,
41 "no-alert": 1,
42 "no-caller": 2,
43 "no-div-regex": 2,
44 "no-eq-null": 2,
45 "no-eval": 2,
46 "no-extend-native": 2,
47 "no-extra-bind": 2,
48 "no-fallthrough": 2,
49 "no-floating-decimal": 2,
50 "no-implied-eval": 2,
51 "no-iterator": 2,
52 "no-labels": 2,
53 "no-lone-blocks": 2,
54 "no-loop-func": 2,
55 "no-multi-spaces": 1,
56 "no-multi-str": 2,
57 "no-native-reassign": 2,
58 "no-new": 2,
59 "no-new-func": 2,
60 "no-new-wrappers": 2,
61 "no-octal": 2,
62 "no-octal-escape": 2,
63 "no-proto": 2,
64 "no-redeclare": 2,
65 "no-return-assign": [2, "except-parens"],
66 "no-script-url": 2,
67 "no-self-compare": 2,
68 "no-sequences": 2,
69 "no-throw-literal": 2,
70 "no-unused-expressions": 0,
71 "no-with": 2,
72 "radix": 2,
73 "vars-on-top": 0,
74 "wrap-iife": 2,
75 "yoda": [
76 1,
77 "never"
78 ],
79 "strict": [
80 0,
81 "never"
82 ],
83 "no-delete-var": 2,
84 "no-label-var": 2,
85 "no-shadow": 2,
86 "no-shadow-restricted-names": 2,
87 "no-undef": 2,
88 "no-undef-init": 2,
89 "no-undefined": 2,
90 "no-unused-vars": [
91 2,
92 "all"
93 ],
94 "no-use-before-define": 0,
95 "handle-callback-err": 2,
96 "no-mixed-requires": 0,
97 "no-new-require": 2,
98 "no-path-concat": 2,
99 "indent": [
100 1,
101 2,
102 {"SwitchCase": 1}
103 ],
104 "brace-style": [
105 1,
106 "stroustrup",
107 {
108 "allowSingleLine": true
109 }
110 ],
111 "comma-spacing": [
112 1,
113 {
114 "before": false,
115 "after": true
116 }
117 ],
118 "comma-style": [
119 2,
120 "first"
121 ],
122 "consistent-this": [
123 1,
124 "self"
125 ],
126 "eol-last": 2,
127 "func-names": 0,
128 "key-spacing": [
129 1,
130 {
131 "beforeColon": false,
132 "afterColon": true
133 }
134 ],
135 "max-nested-callbacks": [
136 2,
137 3
138 ],
139 "new-cap": 2,
140 "new-parens": 2,
141 "no-array-constructor": 0,
142 "no-inline-comments": 1,
143 "no-lonely-if": 0,
144 "no-mixed-spaces-and-tabs": 2,
145 "no-multiple-empty-lines": 2,
146 "no-nested-ternary": 0,
147 "no-new-object": 2,
148 "semi-spacing": [2, {"before": false, "after": true}],
149 "no-spaced-func": 1,
150 "no-ternary": 0,
151 "no-trailing-spaces": 2,
152 "no-underscore-dangle": 0,
153 "one-var": [
154 1,
155 {
156 "var": "never",
157 "let": "never",
158 "const": "never"
159 }
160 ],
161 "operator-assignment": [
162 2,
163 "always"
164 ],
165 "padded-blocks": [
166 1,
167 "never"
168 ],
169 "quote-props": [
170 1,
171 "as-needed"
172 ],
173 "quotes": [
174 2,
175 "single"
176 ],
177 "semi": [
178 2,
179 "always"
180 ],
181 "sort-vars": 0,
182 "space-after-keywords": [
183 1,
184 "always"
185 ],
186 "space-before-blocks": 0,
187 "space-before-function-paren": [
188 1,
189 "always"
190 ],
191 "object-curly-spacing": [
192 1,
193 "never"
194 ],
195 "array-bracket-spacing": [
196 1,
197 "never"
198 ],
199 "space-in-parens": [
200 1,
201 "never"
202 ],
203 "space-infix-ops": 2,
204 "space-return-throw-case": 2,
205 "space-unary-ops": [
206 1,
207 {
208 "words": true,
209 "nonwords": false
210 }
211 ],
212 "spaced-comment": [
213 1,
214 "always",
215 {
216 "exceptions": [
217 "-"
218 ]
219 }
220 ],
221 "wrap-regex": 0,
222 "constructor-super": 2,
223 "no-this-before-super": 2,
224 "require-yield": 2,
225 "prefer-spread": 1,
226 "no-useless-call": 1,
227 "no-invalid-this": 0,
228 "no-implicit-coercion": 0,
229 "no-const-assign": 2,
230 "no-class-assign": 2,
231 "init-declarations": 0,
232 "callback-return": [0, ["callback", "cb", "done", "next"]],
233 "arrow-spacing": [1, {"before": true, "after": true}],
234 "arrow-parens": 1
235 }
236}