This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtslint.json
54 lines (54 loc) · 1.61 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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"no-console": {
"severity": "warn"
},
"indent": [ true, "spaces", 4 ],
"linebreak-style": [ true, "LF" ],
"new-parens": true,
"quotemark": [ true, "single", "avoidEscape" ],
"semicolon": [ true, "never" ],
"space-before-function-paren": [ true, {"anonymous": "always", "named": "never", "asyncArrow": "always"} ],
"arrow-parens": [ true, "ban-single-arg-parens" ],
"prefer-const": true,
"variable-name": {
"severity": "warn",
"options": [
"ban-keywords",
"check-format",
"allow-leading-underscore"
]
},
"curly": false,
"whitespace": [
true,
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-type-operator",
"check-preblock"
],
"no-irregular-whitespace": true,
"member-access": [true, "no-public"],
"only-arrow-functions": false,
"no-var-requires": false,
"object-literal-sort-keys": false,
"no-string-literal": false,
"no-bitwise": false,
"trailing-comma": false,
"ordered-imports": false,
"interface-over-type-literal": false,
"max-line-length": false,
"member-ordering": false,
"no-shadowed-variable": false
},
"rulesDirectory": []
}