-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
28 lines (28 loc) · 990 Bytes
/
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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"linterOptions": {
"exclude": ["bin", "lib", "test", "*.test.ts"]
},
"rulesDirectory": ["node_modules/tslint-eslint-rules/dist/rules"],
"rules": {
"array-type": [true, "array"],
"interface-name": false,
"interface-over-type-literal": false,
"max-line-length": [true, 120],
"no-console": [true, "time", "timeEnd", "trace"],
"no-string-literal": false,
"object-literal-sort-keys": false,
"ordered-imports": false,
"quotemark": [false, "double", "avoid-escape"],
"trailing-comma": [
false,
{
"multiline": "always",
"singleline": "never"
}
],
"variable-name": [true, "allow-leading-underscore", "ban-keywords", "check-format"],
"max-classes-per-file": [true, 5, "exclude-class-expressions"]
}
}