UNPKG

10.7 kBJSONView Raw
1{
2 "rules": {
3 "insecure-random": true,
4 "no-banned-terms": true,
5 "no-cookies": true,
6 "no-delete-expression": true,
7 "no-disable-auto-sanitization": true,
8 "no-document-domain": true,
9 "no-document-write": true,
10 "no-eval": true,
11 "no-exec-script": true,
12 "no-function-constructor-with-string-args": true,
13 "no-http-string": [
14 true,
15 "http://www.example.com/?.*",
16 "http://localhost:?.*"
17 ],
18 "no-inner-html": true,
19 "no-octal-literal": true,
20 "no-reserved-keywords": true,
21 "no-string-based-set-immediate": true,
22 "no-string-based-set-interval": true,
23 "no-string-based-set-timeout": true,
24 "non-literal-fs-path": true,
25 "non-literal-require": true,
26 "possible-timing-attack": true,
27 "react-anchor-blank-noopener": true,
28 "react-iframe-missing-sandbox": true,
29 "react-no-dangerous-html": true,
30 "await-promise": true,
31 "forin": true,
32 "jquery-deferred-must-complete": true,
33 "label-position": true,
34 "match-default-export-name": true,
35 "mocha-avoid-only": true,
36 "mocha-no-side-effect-code": true,
37 "no-any": true,
38 "no-arg": true,
39 "no-backbone-get-set-outside-model": true,
40 "no-bitwise": true,
41 "no-conditional-assignment": true,
42 "no-console": [
43 true,
44 "debug",
45 "info",
46 "error",
47 "log",
48 "time",
49 "timeEnd",
50 "trace"
51 ],
52 "no-constant-condition": true,
53 "no-control-regex": true,
54 "no-debugger": true,
55 "no-duplicate-super": true,
56 "no-duplicate-switch-case": true,
57 "no-duplicate-variable": true,
58 "no-empty": true,
59 "no-floating-promises": true,
60 "no-for-in-array": true,
61 "no-implicit-dependencies": true,
62 "no-import-side-effect": true,
63 "no-increment-decrement": true,
64 "no-invalid-regexp": true,
65 "no-invalid-template-strings": true,
66 "no-invalid-this": true,
67 "no-jquery-raw-elements": true,
68 "no-misused-new": true,
69 "no-non-null-assertion": true,
70 "no-object-literal-type-assertion": true,
71 "no-parameter-reassignment": true,
72 "no-reference-import": true,
73 "no-regex-spaces": true,
74 "no-sparse-arrays": true,
75 "no-string-literal": true,
76 "no-string-throw": true,
77 "no-submodule-imports": true,
78 "no-unnecessary-bind": true,
79 "no-unnecessary-callback-wrapper": true,
80 "no-unnecessary-initializer": true,
81 "no-unnecessary-override": true,
82 "no-unsafe-any": true,
83 "no-unsafe-finally": true,
84 "no-unused-expression": true,
85 "no-use-before-declare": true,
86 "no-with-statement": true,
87 "promise-function-async": true,
88 "promise-must-complete": true,
89 "radix": true,
90 "react-this-binding-issue": true,
91 "react-unused-props-and-state": true,
92 "restrict-plus-operands": true,
93 "strict-boolean-expressions": true,
94 "switch-default": true,
95 "switch-final-break": true,
96 "triple-equals": [
97 true,
98 "allow-null-check"
99 ],
100 "use-isnan": true,
101 "use-named-parameter": true,
102 "use-simple-attributes": true,
103 "adjacent-overload-signatures": true,
104 "array-type": [
105 true,
106 "array"
107 ],
108 "arrow-parens": false,
109 "ban-comma-operator": true,
110 "binary-expression-operand-order": true,
111 "callable-types": true,
112 "chai-prefer-contains-to-index-of": true,
113 "chai-vague-errors": true,
114 "class-name": true,
115 "comment-format": true,
116 "completed-docs": [
117 true,
118 "classes"
119 ],
120 "export-name": true,
121 "file-name-casing": true,
122 "function-name": true,
123 "import-name": true,
124 "informative-docs": true,
125 "interface-name": true,
126 "jsdoc-format": true,
127 "max-classes-per-file": [
128 true,
129 3
130 ],
131 "max-file-line-count": true,
132 "max-func-body-length": [
133 true,
134 100,
135 {
136 "ignore-parameters-to-function-regex": "^describe$"
137 }
138 ],
139 "max-line-length": [
140 true,
141 140
142 ],
143 "member-access": true,
144 "member-ordering": [
145 true,
146 {
147 "order": "fields-first"
148 }
149 ],
150 "mocha-unneeded-done": true,
151 "new-parens": true,
152 "newline-per-chained-call": true,
153 "no-construct": true,
154 "no-default-export": true,
155 "no-duplicate-imports": true,
156 "no-dynamic-delete": true,
157 "no-empty-interface": true,
158 "no-for-in": true,
159 "no-function-expression": true,
160 "no-inferrable-types": false,
161 "no-multiline-string": false,
162 "no-null-keyword": true,
163 "no-parameter-properties": true,
164 "no-redundant-jsdoc": true,
165 "no-relative-imports": true,
166 "no-require-imports": true,
167 "no-return-await": true,
168 "no-shadowed-variable": true,
169 "no-suspicious-comment": true,
170 "no-this-assignment": true,
171 "no-typeof-undefined": true,
172 "no-unnecessary-field-initialization": true,
173 "no-unnecessary-local-variable": true,
174 "no-unnecessary-qualifier": true,
175 "no-unnecessary-type-assertion": true,
176 "no-unsupported-browser-code": true,
177 "no-useless-files": true,
178 "no-var-keyword": true,
179 "no-var-requires": true,
180 "no-void-expression": true,
181 "number-literal-format": true,
182 "object-literal-sort-keys": false,
183 "one-variable-per-declaration": true,
184 "only-arrow-functions": false,
185 "ordered-imports": true,
186 "prefer-array-literal": true,
187 "prefer-const": true,
188 "prefer-for-of": true,
189 "prefer-method-signature": true,
190 "prefer-object-spread": true,
191 "prefer-readonly": true,
192 "prefer-template": true,
193 "prefer-while": true,
194 "type-literal-delimiter": true,
195 "typedef": [
196 true,
197 "call-signature",
198 "arrow-call-signature",
199 "parameter",
200 "arrow-parameter",
201 "property-declaration",
202 "variable-declaration",
203 "member-variable-declaration"
204 ],
205 "underscore-consistent-invocation": true,
206 "unified-signatures": true,
207 "use-default-type-parameter": true,
208 "variable-name": true,
209 "react-a11y-anchors": true,
210 "react-a11y-aria-unsupported-elements": true,
211 "react-a11y-event-has-role": true,
212 "react-a11y-image-button-has-alt": true,
213 "react-a11y-img-has-alt": true,
214 "react-a11y-input-elements": true,
215 "react-a11y-lang": true,
216 "react-a11y-meta": true,
217 "react-a11y-no-onchange": true,
218 "react-a11y-props": true,
219 "react-a11y-proptypes": true,
220 "react-a11y-required": true,
221 "react-a11y-role": true,
222 "react-a11y-role-has-required-aria-props": true,
223 "react-a11y-role-supports-aria-props": true,
224 "react-a11y-tabindex-no-positive": true,
225 "react-a11y-titles": true,
226 "align": [
227 true,
228 "parameters",
229 "arguments",
230 "statements"
231 ],
232 "curly": true,
233 "encoding": true,
234 "eofline": true,
235 "import-spacing": true,
236 "indent": [
237 true,
238 "spaces"
239 ],
240 "linebreak-style": true,
241 "newline-before-return": true,
242 "no-consecutive-blank-lines": true,
243 "no-empty-line-after-opening-brace": false,
244 "no-irregular-whitespace": true,
245 "no-single-line-block-comment": true,
246 "no-trailing-whitespace": true,
247 "no-unnecessary-semicolons": true,
248 "object-literal-key-quotes": [
249 true,
250 "as-needed"
251 ],
252 "one-line": [
253 true,
254 "check-open-brace",
255 "check-catch",
256 "check-else",
257 "check-whitespace"
258 ],
259 "quotemark": [
260 true,
261 "single"
262 ],
263 "semicolon": [
264 true,
265 "always"
266 ],
267 "space-within-parens": true,
268 "trailing-comma": [
269 true,
270 {
271 "singleline": "never",
272 "multiline": "never"
273 }
274 ],
275 "typedef-whitespace": false,
276 "whitespace": [
277 true,
278 "check-branch",
279 "check-decl",
280 "check-operator",
281 "check-separator",
282 "check-type"
283 ],
284 "ban": false,
285 "ban-types": true,
286 "cyclomatic-complexity": true,
287 "deprecation": false,
288 "file-header": false,
289 "import-blacklist": false,
290 "interface-over-type-literal": false,
291 "no-angle-bracket-type-assertion": false,
292 "no-inferred-empty-object-type": false,
293 "no-internal-module": false,
294 "no-magic-numbers": false,
295 "no-mergeable-namespace": false,
296 "no-namespace": false,
297 "no-reference": true,
298 "no-unexternalized-strings": false,
299 "object-literal-shorthand": false,
300 "prefer-conditional-expression": false,
301 "prefer-switch": false,
302 "prefer-type-cast": true,
303 "return-undefined": false,
304 "space-before-function-paren": false,
305 "missing-jsdoc": false,
306 "missing-optional-annotation": false,
307 "no-duplicate-case": false,
308 "no-duplicate-parameter-names": false,
309 "no-empty-interfaces": false,
310 "no-missing-visibility-modifiers": false,
311 "no-multiple-var-decl": false,
312 "no-stateless-class": false,
313 "no-switch-case-fall-through": false,
314 "no-unnecessary-class": true,
315 "no-var-self": false,
316 "react-tsx-curly-spacing": false,
317 "typeof-compare": false,
318 "valid-typeof": false
319 },
320 "rulesDirectory": "./"
321}
\No newline at end of file