-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtslint.json
More file actions
73 lines (73 loc) · 2.21 KB
/
Copy pathtslint.json
File metadata and controls
73 lines (73 loc) · 2.21 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"indent": [true, "tabs", 4],
"object-literal-sort-keys": false,
"object-literal-key-quotes": [true, "consistent"],
"forin": false,
"max-line-length": false,
"ordered-imports": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-snake-case", "allow-pascal-case"],
"no-empty-interface": false,
"no-unused-expression": false,
"no-namespace": false,
"interface-over-type-literal": false,
"no-async-without-await": true,
"no-null-keyword": true,
"prefer-readonly": true,
"no-empty": true,
"no-console": true,
"no-return-await": true,
"interface-name": [true, "always-prefix"],
"no-eval": true,
"no-invalid-template-strings": true,
"prefer-template": true,
"triple-equals": true,
"max-classes-per-file": [true, 1],
"whitespace": [true, "check-branch", "check-decl", "check-rest-spread"],
"one-line": [true, "check-catch", "check-finally", "check-else", "check-open-brace", "check-whitespace"],
"await-promise": true,
"no-unused-variable": true,
"no-unsafe-any": true,
"no-floating-promises": true,
"no-promise-as-boolean": true,
"no-default-export": true,
"quotemark": [true, "double", "jsx-double", "avoid-escape", "avoid-template"],
"no-string-throw": true,
"trailing-comma": [
true,
{
"singleline": {
"objects": "never",
"arrays": "never",
"functions": "never",
"typeLiterals": "never",
"imports": "never",
"exports": "never"
},
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "always",
"imports": "always",
"exports": "always"
},
"esSpecCompliant": true
}
],
"typedef": [true, "call-signature", "parameter", "property-declaration", "member-variable-declaration"],
"member-access": true,
"semicolon": [true, "always"],
"no-consecutive-blank-lines": true
},
"rulesDirectory": [],
"linterOptions": {
"exclude": [
]
}
}