1 | {
|
2 | "defaultSeverity": "error",
|
3 | "extends": [
|
4 | "tslint:recommended"
|
5 | ],
|
6 | "jsRules": {},
|
7 | "rules": {
|
8 | "arrow-parens": [true, "ban-single-arg-parens"],
|
9 | "interface-name": false,
|
10 | "interface-over-type-literal": false,
|
11 | "max-classes-per-file": false,
|
12 | "max-line-length": false,
|
13 | "no-any": true,
|
14 | "no-bitwise": false,
|
15 | "no-console": false,
|
16 | "no-empty": false,
|
17 | "no-floating-promises": true,
|
18 | "no-string-literal": false,
|
19 | "no-trailing-whitespace": [true],
|
20 | "no-unused-variable": true,
|
21 | "object-literal-key-quotes": [true, "as-needed"],
|
22 | "object-literal-sort-keys": false,
|
23 | "only-arrow-functions": [true, "allow-named-functions"],
|
24 | "ordered-imports": true,
|
25 | "quotemark": [true, "single", "avoid-template"],
|
26 | "trailing-comma": [true, {"multiline": "never", "singleline": "never"}],
|
27 | "variable-name": [true, "allow-leading-underscore"],
|
28 | // -- Begin MS SDL https://github.com/Microsoft/tslint-microsoft-contrib/wiki/TSLint-and-the-Microsoft-Security-Development-Lifecycle
|
29 | "no-banned-terms": true,
|
30 | "no-delete-expression": true,
|
31 | "no-document-domain": true,
|
32 | "no-disable-auto-sanitization": true,
|
33 | "no-duplicate-parameter-names": true,
|
34 | "no-exec-script": true,
|
35 | "no-function-constructor-with-string-args": true,
|
36 | "no-octal-literal": true,
|
37 | "no-reserved-keywords": true,
|
38 | "no-string-based-set-immediate": true,
|
39 | "no-string-based-set-interval": true,
|
40 | "no-string-based-set-timeout": true,
|
41 | "no-eval": true
|
42 | // -- End MS SDL
|
43 | },
|
44 | "rulesDirectory": [
|
45 | "tslint-microsoft-contrib"
|
46 | ]
|
47 | }
|