UNPKG

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