Skip to content

Commit 5a526ce

Browse files
chore(tslint): update to tslint v4.5.1
1 parent 46dea2b commit 5a526ce

File tree

3 files changed

+297
-47
lines changed

3 files changed

+297
-47
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"readline-sync": "^1.4.4",
7878
"shelljs": "^0.7.0",
7979
"shx": "^0.1.4",
80-
"tslint": "=2.5.0",
80+
"tslint": "^4.5.1",
8181
"typescript": "^2.1.4",
8282
"webpack": "^1.13.3"
8383
}

tslint.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"interface-name": false,
1212
"jsdoc-format": true,
1313
"label-position": true,
14-
"label-undefined": true,
1514
"max-line-length": [true, 180],
1615
"member-access": false,
1716
"member-ordering": [false, "public-before-private", "static-before-instance", "variables-before-functions" ],
@@ -23,7 +22,6 @@
2322
"no-construct": true,
2423
"no-constructor-vars": false,
2524
"no-debugger": true,
26-
"no-duplicate-key": true,
2725
"no-shadowed-variable": true,
2826
"no-duplicate-variable": true,
2927
"no-empty": false,
@@ -32,9 +30,7 @@
3230
"no-require-imports": true,
3331
"no-string-literal": true,
3432
"no-switch-case-fall-through": true,
35-
"no-trailing-comma": true,
3633
"no-trailing-whitespace": false,
37-
"no-unreachable": true,
3834
"no-unused-expression": [true, "allow-fast-null-checks"],
3935
"no-unused-variable": true,
4036
"no-use-before-declare": true,
@@ -45,6 +41,7 @@
4541
"radix": true,
4642
"semicolon": true,
4743
"switch-default": true,
44+
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
4845
"triple-equals": [true, "allow-null-check"],
4946
"typedef": [false, "call-signature", "parameter", "property-declaration", "variable-declaration", "member-variable-declaration" ],
5047
"typedef-whitespace": [true, {
@@ -56,5 +53,5 @@
5653
"use-strict": [false, "check-module", "check-function" ],
5754
"variable-name": false,
5855
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type" ]
59-
}
56+
}
6057
}

0 commit comments

Comments
 (0)