-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
48 lines (48 loc) · 1.8 KB
/
tslint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"jsRules": {},
"rules": {
"arrow-parens": [true, "ban-single-arg-parens"],
"curly": [true, "ignore-same-line"],
"interface-name": false,
"interface-over-type-literal": false,
"max-classes-per-file": false,
"max-line-length": false,
"no-any": true,
"no-bitwise": true,
"no-import-side-effect": true,
"no-inferrable-types": true,
"no-non-null-assertion": true,
"no-object-literal-type-assertion": true,
"no-unnecessary-type-assertion": true,
"cyclomatic-complexity": true,
"no-console": false,
"no-empty": false,
"no-floating-promises": true,
"no-namespace": false,
"no-string-literal": false,
"no-trailing-whitespace": [true],
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"only-arrow-functions": [true, "allow-named-functions"],
"ordered-imports": true,
"quotemark": [true, "single", "avoid-template", "avoid-escape"],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"trailing-comma": [true, { "multiline": "never", "singleline": "never" }],
"variable-name": [true, "allow-leading-underscore"],
"no-banned-terms": true,
"no-delete-expression": true,
"no-document-domain": true,
"no-disable-auto-sanitization": true,
"no-duplicate-parameter-names": true,
"no-exec-script": true,
"no-function-constructor-with-string-args": true,
"no-octal-literal": true,
"no-string-based-set-immediate": true,
"no-string-based-set-interval": true,
"no-string-based-set-timeout": true,
"no-eval": true
},
"rulesDirectory": ["tslint-microsoft-contrib"]
}