-
Notifications
You must be signed in to change notification settings - Fork 5
/
tslint.json
44 lines (44 loc) · 1.22 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {
"no-restricted-globals": false
},
"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,
"no-restricted-globals": false
},
"rulesDirectory": [],
"linterOptions": {
"exclude": [
"src/serviceWorker.ts",
"src/metadata.js",
"prerender-metadata.js"
]
}
}