-
Notifications
You must be signed in to change notification settings - Fork 4
/
tslint.json
40 lines (40 loc) · 1.33 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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"array-type": [true, "generic"],
"arrow-parens": [true, "ban-single-arg-parens"],
"max-line-length": {
"options": [150]
},
"prefer-for-of": true,
"curly": true,
"no-console": false,
"no-debugger": true,
"no-string-throw": true,
"no-var-keyword": true,
"cyclomatic-complexity": true,
"no-unused-expression":false,
"object-literal-sort-keys": false,
"ordered-imports": false,
"max-classes-per-file": [true, 5, "exclude-class-expressions"],
"max-file-line-count": [true, 350],
"prefer-const": true,
"trailing-comma": false,
"class-name": true,
"import-spacing": true,
"interface-name": [true, "never-prefix"],
"no-bitwise": false,
"no-trailing-whitespace": [true],
"one-line": true,
"prefer-template": [true, "allow-single-concat"],
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"semicolon": [true, "always"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"whitespace": [true, "check-branch", "check-operator", "check-module", "check-rest-spread", "check-typecast"]
},
"rulesDirectory": []
}