UNPKG

1.24 kBJSONView Raw
1{
2 "rulesDirectory": [
3 "tslint-microsoft-contrib"
4 ],
5 "rules": {
6 // Disabled due to errors:
7 // https://github.com/Microsoft/tslint-microsoft-contrib/issues/355
8// "no-string-based-set-timeout": true,
9// "no-string-based-set-interval": true,
10
11 "insecure-random": true,
12 "function-name": true,
13 "import-name": true,
14 "mocha-avoid-only": true,
15 "mocha-no-side-effect-code": [
16 true,
17 {
18 "ignore": "^createTestProjector\\(\\)$|^projector.query.*$|^xit\\(.*"
19 }
20 ],
21 "mocha-unneeded-done": true,
22 "no-banned-terms": true,
23 "no-constant-condition": true,
24 "no-control-regex": true,
25 "no-cookies": true,
26 "no-delete-expression": true,
27 "no-disable-auto-sanitization": true,
28 "no-document-domain": true,
29 "no-document-write": true,
30 "no-empty-line-after-opening-brace": true,
31 "no-exec-script": true,
32 "no-for-in": true,
33 "no-http-string": true,
34 "no-inner-html": true,
35 "no-invalid-regexp": true,
36 "no-octal-literal": true,
37 "no-regex-spaces": true,
38 "no-string-based-set-immediate": true,
39 "no-suspicious-comment": true,
40 "no-unnecessary-semicolons": true,
41 "no-with-statement": true,
42 "prefer-array-literal": true
43 }
44}