Skip to content

Commit 6c77184

Browse files
committed
chore(lint): update tslint (#740)
Update tslint config
1 parent 0bc3d94 commit 6c77184

File tree

1 file changed

+57
-22
lines changed

1 file changed

+57
-22
lines changed
+57-22
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,75 @@
11
{
2-
"rulesDirectory": ["node_modules/codelyzer"],
32
"rules": {
4-
"max-line-length": [true, 100],
5-
"no-inferrable-types": true,
63
"class-name": true,
74
"comment-format": [
85
true,
96
"check-space"
107
],
8+
"curly": true,
9+
"eofline": true,
10+
"forin": true,
1111
"indent": [
1212
true,
1313
"spaces"
1414
],
15-
"eofline": true,
16-
"no-duplicate-variable": true,
17-
"no-eval": true,
15+
"label-position": true,
16+
"label-undefined": true,
17+
"max-line-length": [
18+
true,
19+
140
20+
],
21+
"member-access": false,
22+
"member-ordering": [
23+
true,
24+
"static-before-instance",
25+
"variables-before-functions"
26+
],
1827
"no-arg": true,
19-
"no-internal-module": true,
20-
"no-trailing-whitespace": true,
2128
"no-bitwise": true,
29+
"no-console": [
30+
true,
31+
"debug",
32+
"info",
33+
"time",
34+
"timeEnd",
35+
"trace"
36+
],
37+
"no-construct": true,
38+
"no-debugger": true,
39+
"no-duplicate-key": true,
40+
"no-duplicate-variable": true,
41+
"no-empty": false,
42+
"no-eval": true,
43+
"no-inferrable-types": true,
2244
"no-shadowed-variable": true,
45+
"no-string-literal": false,
46+
"no-switch-case-fall-through": true,
47+
"no-trailing-whitespace": true,
2348
"no-unused-expression": true,
2449
"no-unused-variable": true,
50+
"no-unreachable": true,
51+
"no-use-before-declare": true,
52+
"no-var-keyword": true,
53+
"object-literal-sort-keys": false,
2554
"one-line": [
2655
true,
56+
"check-open-brace",
2757
"check-catch",
2858
"check-else",
29-
"check-open-brace",
3059
"check-whitespace"
3160
],
3261
"quotemark": [
3362
true,
34-
"single",
35-
"avoid-escape"
63+
"single"
64+
],
65+
"radix": true,
66+
"semicolon": [
67+
"always"
68+
],
69+
"triple-equals": [
70+
true,
71+
"allow-null-check"
3672
],
37-
"semicolon": [true, "always"],
3873
"typedef-whitespace": [
3974
true,
4075
{
@@ -45,13 +80,7 @@
4580
"variable-declaration": "nospace"
4681
}
4782
],
48-
"curly": true,
49-
"variable-name": [
50-
true,
51-
"ban-keywords",
52-
"check-format",
53-
"allow-trailing-underscore"
54-
],
83+
"variable-name": false,
5584
"whitespace": [
5685
true,
5786
"check-branch",
@@ -60,13 +89,19 @@
6089
"check-separator",
6190
"check-type"
6291
],
92+
93+
"directive-selector-name": [true, "camelCase"],
6394
"component-selector-name": [true, "kebab-case"],
95+
"directive-selector-type": [true, "attribute"],
6496
"component-selector-type": [true, "element"],
65-
"use-host-property-decorator": true,
6697
"use-input-property-decorator": true,
6798
"use-output-property-decorator": true,
68-
"no-attribute-parameter-decorator": true,
99+
"use-host-property-decorator": true,
69100
"no-input-rename": true,
70-
"no-output-rename": true
101+
"no-output-rename": true,
102+
"use-life-cycle-interface": true,
103+
"use-pipe-transform-interface": true,
104+
"component-class-suffix": true,
105+
"directive-class-suffix": true
71106
}
72107
}

0 commit comments

Comments
 (0)