7 "defaultSeverity": "error",
9 "insecure-random": false,
10 "no-banned-terms": true,
12 "no-delete-expression": true,
13 "no-disable-auto-sanitization": true,
14 "no-document-domain": true,
15 "no-document-write": true,
17 "no-exec-script": true,
18 "no-function-constructor-with-string-args": true,
21 "http://www.example.com/?.*",
22 "http://www.examples.com/?.*"
24 "no-inner-html": true,
25 "no-octal-literal": true,
26 "no-reserved-keywords": true,
30 "no-string-based-set-immediate": true,
31 "no-string-based-set-interval": true,
32 "no-string-based-set-timeout": true,
33 "non-literal-require": true,
34 "possible-timing-attack": true,
35 "react-anchor-blank-noopener": true,
36 "react-iframe-missing-sandbox": true,
37 "react-no-dangerous-html": true,
39 "jquery-deferred-must-complete": true,
40 "label-position": true,
41 "mocha-avoid-only": true,
42 "mocha-no-side-effect-code": true,
45 "no-backbone-get-set-outside-model": true,
47 "no-conditional-assignment": true,
49 "no-constant-condition": true,
50 "no-control-regex": true,
52 "no-duplicate-case": true,
53 "no-duplicate-variable": true,
55 "no-increment-decrement": true,
56 "no-invalid-regexp": true,
57 "no-invalid-this": true,
58 "no-jquery-raw-elements": true,
59 "no-misused-new": true,
60 "no-regex-spaces": true,
61 "no-sparse-arrays": true,
62 "no-stateless-class": true,
63 "no-string-literal": true,
64 "no-string-throw": true,
65 "no-unnecessary-bind": true,
66 "no-unnecessary-initializer": true,
67 "no-unnecessary-override": true,
68 "no-unsafe-finally": true,
69 "no-unused-expression": true,
70 "no-with-statement": true,
71 "promise-must-complete": true,
73 "react-this-binding-issue": true,
74 "react-unused-props-and-state": true,
75 "switch-default": true,
81 "use-named-parameter": true,
83 "adjacent-overload-signatures": true,
89 "callable-types": true,
90 "chai-prefer-contains-to-index-of": true,
91 "chai-vague-errors": true,
93 "comment-format": true,
95 "function-name": true,
97 "interface-name": false,
99 "max-classes-per-file": [
103 "max-file-line-count": true,
104 "max-func-body-length": [
108 "ignore-parameters-to-function-regex": "describe"
115 "member-access": true,
119 "order": "fields-first"
122 "missing-jsdoc": true,
123 "mocha-unneeded-done": true,
125 "no-construct": true,
126 "no-default-export": true,
127 "no-empty-interface": true,
129 "no-function-expression": true,
130 "no-inferrable-types": false,
131 "no-multiline-string": true,
132 "no-null-keyword": false,
133 "no-parameter-properties": true,
134 "no-relative-imports": false,
135 "no-require-imports": true,
136 "no-shadowed-variable": true,
137 "no-typeof-undefined": true,
138 "no-unnecessary-field-initialization": true,
139 "no-unnecessary-local-variable": true,
140 "no-var-keyword": true,
141 "no-var-requires": true,
143 "object-literal-sort-keys": false,
144 "one-variable-per-declaration": true,
145 "only-arrow-functions": [
147 "allow-declarations",
148 "allow-named-functions"
150 "ordered-imports": true,
151 "prefer-array-literal": true,
152 "prefer-const": true,
153 "prefer-for-of": true,
154 "prefer-method-signature": true,
158 "arrow-call-signature",
161 "property-declaration",
162 "variable-declaration",
163 "member-variable-declaration"
165 "underscore-consistent-invocation": true,
166 "unified-signatures": true,
167 "variable-name": true,
168 "react-a11y-anchors": true,
169 "react-a11y-aria-unsupported-elements": true,
170 "react-a11y-event-has-role": true,
171 "react-a11y-image-button-has-alt": true,
172 "react-a11y-img-has-alt": true,
173 "react-a11y-lang": true,
174 "react-a11y-meta": true,
175 "react-a11y-props": true,
176 "react-a11y-proptypes": true,
177 "react-a11y-role": true,
178 "react-a11y-role-has-required-aria-props": true,
179 "react-a11y-role-supports-aria-props": true,
180 "react-a11y-tabindex-no-positive": true,
181 "react-a11y-titles": true,
188 "import-spacing": true,
193 "linebreak-style": false,
194 "no-consecutive-blank-lines": true,
195 "no-empty-line-after-opening-brace": true,
196 "no-trailing-whitespace": true,
197 "no-unnecessary-semicolons": true,
198 "object-literal-key-quotes": [
209 "react-tsx-curly-spacing": true,
217 "singleline": "never",
221 "typedef-whitespace": false,
231 "cyclomatic-complexity": true,
232 "file-header": false,
233 "import-blacklist": false,
234 "interface-over-type-literal": true,
235 "no-internal-module": true,
236 "no-magic-numbers": true,
237 "no-mergeable-namespace": false,
238 "no-namespace": true,
239 "no-reference": true,
240 "no-unexternalized-strings": true,
241 "object-literal-shorthand": true,
242 "no-angle-bracket-type-assertion": true,
243 "prefer-type-cast": false,
244 "space-before-function-paren": false,
245 "missing-optional-annotation": false,
246 "no-duplicate-parameter-names": false,
247 "no-empty-interfaces": true,
248 "no-missing-visibility-modifiers": false,
249 "no-multiple-var-decl": false,
250 "no-switch-case-fall-through": true,
251 "typeof-compare": true,
252 "no-inferred-empty-object-type": true,
253 "await-promise": true,
254 "no-floating-promises": true,
255 "no-for-in-array": true,
256 "promise-function-async": true,
261 "visibilities": ["all"]
264 "visibilities": ["all"]
267 "visibilities": ["all"]
270 "visibilities": ["all"]
273 "locations": ["all"],
277 "visibilities": ["all"]
280 "locations": ["all"],
284 "visibilities": ["all"]
287 "visibilities": ["all"]
291 "no-unnecessary-qualifier": true,
292 "no-void-expression": true,
293 "strict-boolean-expressions": [true, "allow-null-union"],
294 // The following produce too much noise with untyped or not-sufficiently typed libraries
295 "restrict-plus-operands": false,
296 "no-unsafe-any": false
298 "rulesDirectory": ["./node_modules/tslint-microsoft-contrib/"]