-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtslint.json
36 lines (35 loc) · 998 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
33
34
35
36
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {},
"rules": {
"no-duplicate-imports": true,
"no-duplicate-variable": true,
"no-var-keyword": true,
"no-var-requires": false,
"no-string-literal":false,
"no-shadowed-variable": false,
"no-unused-expression": true,
"quotemark": [true, "single", "avoid-escape"],
"semicolon": [true],
"variable-name": [true, "ban-keywords"],
"no-console": [false],
"max-line-length": [true, 200],
"member-ordering": false,
"object-literal-sort-keys": false,
"triple-equals": [true, "allow-null-check"],
"interface-name" : [true, "never-prefix"],
"prefer-for-of": false,
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
}
}
]
}
}