Skip to content

Commit e23af0b

Browse files
committed
update tslint
1 parent a219170 commit e23af0b

File tree

1 file changed

+69
-1
lines changed

1 file changed

+69
-1
lines changed

tslint.json

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,101 @@
11
{
22
"rules": {
3+
"align": [
4+
true,
5+
"parameters",
6+
"arguments",
7+
"statements"
8+
],
9+
"ban": false,
310
"class-name": true,
411
"comment-format": [
512
true,
613
"check-space"
714
],
15+
"curly": false,
16+
"eofline": true,
17+
"forin": true,
818
"indent": [
919
true,
1020
"spaces"
1121
],
12-
"no-debugger": false,
22+
"interface-name": false,
23+
"jsdoc-format": true,
24+
"label-position": true,
25+
"label-undefined": true,
26+
"max-line-length": [
27+
true,
28+
140
29+
],
30+
"member-ordering": [
31+
true,
32+
"public-before-private",
33+
"static-before-instance",
34+
"variables-before-functions"
35+
],
36+
"no-any": false,
37+
"no-arg": true,
38+
"no-bitwise": true,
39+
"no-console": [
40+
true,
41+
"debug",
42+
"info",
43+
"time",
44+
"timeEnd",
45+
"trace"
46+
],
47+
"no-construct": true,
48+
"no-constructor-vars": false,
49+
"no-debugger": true,
50+
"no-duplicate-key": true,
51+
"no-shadowed-variable": true,
1352
"no-duplicate-variable": true,
53+
"no-empty": true,
1454
"no-eval": true,
1555
"no-internal-module": true,
56+
"no-require-imports": true,
57+
"no-string-literal": true,
58+
"no-switch-case-fall-through": true,
59+
"trailing-comma": {
60+
"singleline": "never",
61+
"multiline": "always"
62+
},
1663
"no-trailing-whitespace": true,
64+
"no-unreachable": true,
65+
"no-unused-expression": true,
66+
"no-unused-variable": [true, "react"],
67+
"no-use-before-declare": true,
1768
"no-var-keyword": true,
69+
"no-var-requires": false,
1870
"one-line": [
1971
true,
2072
"check-open-brace",
73+
"check-catch",
74+
"check-else",
2175
"check-whitespace"
2276
],
2377
"quotemark": [
2478
true,
2579
"single",
2680
"jsx-double"
2781
],
82+
"radix": true,
2883
"semicolon": [
2984
true,
3085
"always"
3186
],
87+
"switch-default": true,
3288
"triple-equals": [
3389
true,
3490
"allow-null-check"
3591
],
92+
"typedef": [
93+
false,
94+
"call-signature",
95+
"parameter",
96+
"property-declaration",
97+
"member-variable-declaration"
98+
],
3699
"typedef-whitespace": [
37100
true, {
38101
"call-signature": "nospace",
@@ -42,6 +105,11 @@
42105
"variable-declaration": "nospace"
43106
}
44107
],
108+
"use-strict": [
109+
false,
110+
"check-module",
111+
"check-function"
112+
],
45113
"variable-name": [
46114
true,
47115
"ban-keywords"

0 commit comments

Comments
 (0)