-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
39 lines (39 loc) · 1.03 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
{
"extends": ["tslint-plugin-prettier"],
"rulesDirectory": [
"node_modules/tslint-plugin-prettier"
],
"linterOptions": {
"exclude": [
"bin"
]
},
"rules": {
"prettier": true,
"no-implicit-dependencies": [false, "dev"],
"object-literal-sort-keys": false,
"curly": false,
"variable-name": {
"options": [
"allow-leading-underscore",
"allow-pascal-case"
]
},
"no-magic-numbers": true,
"no-conditional-assignment": true,
"no-invalid-template-strings": true,
"no-tautology-expression": true,
"no-unused-variable": true,
"no-var-keyword": true,
"cyclomatic-complexity": true,
"max-classes-per-file": [true, 3],
"max-file-line-count": [true, 300],
"no-duplicate-imports": true,
"prefer-const": true,
"prefer-readonly": true,
"arrow-return-shorthand": true,
"ordered-imports": true,
"prefer-template": true,
"no-floating-promises": true
}
}