-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
32 lines (32 loc) · 967 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
29
30
31
32
{
"extends": "tslint:latest",
"plugins": ["jest"],
"env": {
"jest/globals": true
},
"rules": {
"quotemark": [true, "single"],
"object-literal-sort-keys": false,
"variable-name": [true, "allow-leading-underscore", "allow-pascal-case", "allow-snake-case"],
"interface-name": false,
"interface-over-type-literal": false,
"no-console": false,
"member-ordering": false,
"no-implicit-dependencies": [true, "dev"]
},
"jsRules": {
"semi": ["off"],
"no-var": ["error"],
"array-bracket-spacing": ["error"],
"no-throw-literal": ["error"],
"eqeqeq": ["warn"],
"max-len": ["warn", {"code": 120}],
"max-depth": ["warn", {"max": 4}],
"max-params": ["warn", {"max": 5}],
"complexity": ["warn", {"max": 5}],
"no-trailing-spaces": ["warn", {"skipBlankLines": true, "ignoreComments": true}],
"quotemark": [true, "single"],
"object-literal-sort-keys": false,
"no-console": false
}
}