-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
51 lines (51 loc) · 1.49 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
41
42
43
44
45
46
47
48
49
50
51
{
"defaultSeverity": "error",
"extends": ["tslint-microsoft-contrib"],
"jsRules": {},
"rules": {
"no-implicit-dependencies": false,
"no-submodule-imports": [true, "@", "Lib", "ASSETS", "Core"],
"strict-boolean-expressions": [
true,
"allow-null-union",
"allow-undefined-union",
"allow-string",
"allow-number"
],
"no-default-export": false,
"match-default-export-name": false,
"export-name": false,
"import-name": false,
"space-within-parens": false,
"max-func-body-length": [
true,
200,
{ "ignore-parameters-to-function-regex": "describe" }
],
"align": [true, "parameters", "statements"],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "always",
"typeLiterals": "ignore"
},
"singleline": {
"objects": "never",
"arrays": "never",
"functions": "never",
"typeLiterals": "ignore"
}
}
],
"no-suspicious-comment": false,
"comment-format": [
true,
"check-lowercase",
{ "ignore-words": ["TODO", "HACK"] }
]
},
"rulesDirectory": []
}