-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
43 lines (43 loc) · 1.27 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
{
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rules": {
"no-console": false,
"no-angle-bracket-type-assertion": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"no-string-literal": false,
"eofline": true,
"only-arrow-functions": false,
"forin": false,
"interface-name": false,
"no-big-function": false,
"cognitive-complexity": false,
"member-ordering": [false, { "order": "fields-first" }],
"no-shadowed-variable": false,
"no-unused-expression": false,
"no-var-keyword": true,
"no-var-requires": true,
"object-shorthand": ["error", "always", { "avoidQuotes": true }],
"no-reference": false,
"quotemark": [true, "single"],
"variable-name": [true, "ban-keywords", "allow-leading-underscore"],
"trailing-comma": [ true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "always",
"typeLiterals": "ignore",
"imports": "ignore",
"exports": "ignore"
},
"singleline": "never",
"esSpecCompliant": true
}
],
"semicolon": [true, "always", "ignore-bound-class-methods"]
},
"linterOptions": {
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
}
}