-
Notifications
You must be signed in to change notification settings - Fork 3
/
tslint.json
37 lines (37 loc) · 1.09 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {},
"rules": {
"interface-over-type-literal": false,
"quotemark": [true, "single", "avoid-escape", "jsx-single"],
"object-literal-sort-keys": false,
"arrow-parens": false,
"one-variable-per-declaration": false,
"only-arrow-functions": false,
"semicolon": [true, "always"],
"no-console": [true, "log"],
"member-ordering": false,
"variable-name": [true, "ban-keywords", "allow-leading-underscore"],
"member-access": false,
"comment-format": false,
"no-var-requires": false,
"prefer-const": true,
"trailing-comma": [
true,
{ "multiline": "always", "singleline": "never", "esSpecCompliant": true }
],
"triple-equals": true,
"no-irregular-whitespace": true,
"indent": [true, "spaces", 2],
"class-name": false,
"no-namespace": [true, "allow-declarations"],
"await-promise": true,
"interface-name": false,
"max-line-length": false
},
"rulesDirectory": [],
"linterOptions": {
"exclude": ["src/serviceWorker.ts"]
}
}