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,
27 "no-string-based-set-immediate": true,
28 "no-string-based-set-interval": true,
29 "no-string-based-set-timeout": true,
30 "non-literal-require": true,
31 "possible-timing-attack": true,
32 "react-anchor-blank-noopener": true,
33 "react-iframe-missing-sandbox": true,
34 "react-no-dangerous-html": true,
36 "jquery-deferred-must-complete": true,
37 "label-position": true,
38 "mocha-avoid-only": true,
39 "mocha-no-side-effect-code": true,
42 "no-backbone-get-set-outside-model": true,
44 "no-conditional-assignment": true,
46 "no-constant-condition": true,
47 "no-control-regex": true,
49 "no-duplicate-case": true,
50 "no-duplicate-variable": true,
52 "no-increment-decrement": true,
53 "no-invalid-regexp": true,
54 "no-invalid-this": true,
55 "no-jquery-raw-elements": true,
56 "no-misused-new": true,
57 "no-regex-spaces": true,
58 "no-sparse-arrays": true,
59 "no-stateless-class": true,
60 "no-string-literal": true,
61 "no-string-throw": true,
62 "no-unnecessary-bind": true,
63 "no-unnecessary-initializer": true,
64 "no-unnecessary-override": true,
65 "no-unsafe-finally": true,
66 "no-unused-expression": true,
67 "no-with-statement": true,
68 "promise-must-complete": true,
70 "react-this-binding-issue": true,
71 "react-unused-props-and-state": true,
72 "switch-default": true,
78 "use-named-parameter": true,
80 "adjacent-overload-signatures": true,
86 "callable-types": true,
87 "chai-prefer-contains-to-index-of": true,
88 "chai-vague-errors": true,
90 "comment-format": true,
92 "function-name": true,
94 "interface-name": false,
96 "max-classes-per-file": [
100 "max-file-line-count": true,
101 "max-func-body-length": [
105 "ignore-parameters-to-function-regex": "describe"
112 "member-access": true,
116 "order": "fields-first"
119 "missing-jsdoc": true,
120 "mocha-unneeded-done": true,
122 "no-construct": true,
123 "no-default-export": true,
124 "no-empty-interface": true,
126 "no-function-expression": true,
127 "no-inferrable-types": false,
128 "no-multiline-string": true,
129 "no-null-keyword": false,
130 "no-parameter-properties": true,
131 "no-relative-imports": false,
132 "no-require-imports": true,
133 "no-shadowed-variable": true,
134 "no-typeof-undefined": true,
135 "no-unnecessary-field-initialization": true,
136 "no-unnecessary-local-variable": true,
137 "no-var-keyword": true,
138 "no-var-requires": true,
140 "object-literal-sort-keys": false,
141 "one-variable-per-declaration": true,
142 "only-arrow-functions": [
144 "allow-declarations",
145 "allow-named-functions"
147 "ordered-imports": true,
148 "prefer-array-literal": true,
149 "prefer-const": true,
150 "prefer-for-of": true,
151 "prefer-method-signature": true,
155 "arrow-call-signature",
158 "property-declaration",
159 "variable-declaration",
160 "member-variable-declaration"
162 "underscore-consistent-invocation": true,
163 "unified-signatures": true,
164 "variable-name": true,
165 "react-a11y-anchors": true,
166 "react-a11y-aria-unsupported-elements": true,
167 "react-a11y-event-has-role": true,
168 "react-a11y-image-button-has-alt": true,
169 "react-a11y-img-has-alt": true,
170 "react-a11y-lang": true,
171 "react-a11y-meta": true,
172 "react-a11y-props": true,
173 "react-a11y-proptypes": true,
174 "react-a11y-role": true,
175 "react-a11y-role-has-required-aria-props": true,
176 "react-a11y-role-supports-aria-props": true,
177 "react-a11y-tabindex-no-positive": true,
178 "react-a11y-titles": true,
185 "import-spacing": true,
190 "linebreak-style": false,
191 "no-consecutive-blank-lines": true,
192 "no-empty-line-after-opening-brace": true,
193 "no-trailing-whitespace": true,
194 "no-unnecessary-semicolons": true,
195 "object-literal-key-quotes": [
206 "react-tsx-curly-spacing": true,
214 "singleline": "never",
218 "typedef-whitespace": false,
228 "cyclomatic-complexity": true,
229 "file-header": false,
230 "import-blacklist": false,
231 "interface-over-type-literal": true,
232 "no-internal-module": true,
233 "no-magic-numbers": true,
234 "no-mergeable-namespace": false,
235 "no-namespace": true,
236 "no-reference": true,
237 "no-unexternalized-strings": true,
238 "object-literal-shorthand": true,
239 "no-angle-bracket-type-assertion": true,
240 "prefer-type-cast": false,
241 "space-before-function-paren": false,
242 "missing-optional-annotation": false,
243 "no-duplicate-parameter-names": false,
244 "no-empty-interfaces": true,
245 "no-missing-visibility-modifiers": false,
246 "no-multiple-var-decl": false,
247 "no-switch-case-fall-through": true,
248 //As of 2017-08-21 'no-unused-variable' doesn't work well with generics, disabled for now
249 "no-unused-variable": false,
250 "typeof-compare": true,
251 "no-inferred-empty-object-type": true,
252 "await-promise": true,
253 "no-floating-promises": true,
254 "no-for-in-array": true,
255 "no-use-before-declare": 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/"]