-
Notifications
You must be signed in to change notification settings - Fork 2
/
tslint.json
54 lines (53 loc) · 1.28 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
52
53
54
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"linterOptions": {
"exclude": ["dist", "src/database/migrations/*"]
},
"jsRules": {
"no-unused-expression": true
},
"rules": {
"await-promise": true,
"ordered-imports": true,
"array-type": [false],
"curly": false,
"eofline": true,
"indent": [true, "spaces", 2],
"interface-name": [true],
"max-line-length": [
true,
{
"limit": 150,
"ignore-pattern": "^import |^export {(.*?)}|class [a-zA-Z]+ implements |//"
}
],
"member-access": [false],
"member-ordering": [false],
"no-console": [true, "log", "info", "error", "warn"],
"no-empty": true,
"no-empty-interface": true,
"no-unused-expression": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"one-line": [
true,
"check-catch",
"check-finally",
"check-else",
"check-open-brace"
],
"one-variable-per-declaration": [false],
"quotemark": [true, "single"],
"radix": false,
"semicolon": [true, "always"],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
]
},
"rulesDirectory": []
}