UNPKG

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