-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
61 lines (61 loc) · 1.54 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
55
56
57
58
59
60
61
{
"defaultSeverity": "warning",
"extends": ["tslint:recommended", "gts/tslint.json"],
"linterOptions": {
"exclude": ["node_modules/**", "**/*.json"]
},
"rules": {
"no-any": true,
"no-empty-interface": true,
"no-console": false,
"no-eval": true,
"no-var-requires": true,
"only-arrow-functions": [
true,
"allow-declarations",
"allow-named-functions"
],
"no-empty": false,
"prefer-for-of": true,
"indent": [true, "spaces", 2],
"promise-function-async": true,
"await-promise": true,
"interface-name": false,
"no-consecutive-blank-lines": true,
"object-literal-sort-keys": false,
"ordered-imports": true,
"quotemark": [true, "single", "avoid-escape"],
"typedef-whitespace": false,
"whitespace": true,
"one-line": true,
"semicolon": [true, "never"],
"no-trailing-whitespace": true,
"no-irregular-whitespace": true,
"space-within-parens": false,
"arrow-return-shorthand": true,
"prefer-switch": [true, { "min-cases": 2 }],
"prefer-while": true,
"return-undefined": false,
"no-inferrable-types": false,
"no-default-export": false,
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "always",
"typeLiterals": "always"
},
"esSpecCompliant": true
}
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
]
}
}