Skip to content

Commit d5d0105

Browse files
committed
refactor(tsfmt): update tslint version
1 parent 7291732 commit d5d0105

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

Gruntfile.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ module.exports = function (grunt) {
1616
},
1717
tslint: {
1818
options: {
19-
configuration: grunt.file.readJSON("_tslint.json")
19+
configuration: "_tslint.json",
20+
fix: true
2021
},
2122
files: {
2223
src: [

_tslint.json

-10
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
],
2626
"jsdoc-format": false,
2727
"label-position": true,
28-
"label-undefined": true,
2928
"max-line-length": [
3029
false,
3130
140
@@ -52,9 +51,7 @@
5251
"trace"
5352
],
5453
"no-construct": true,
55-
"no-constructor-vars": false,
5654
"no-debugger": true,
57-
"no-duplicate-key": true,
5855
"no-duplicate-variable": true,
5956
"no-empty": false,
6057
"no-eval": true,
@@ -73,10 +70,8 @@
7370
"no-string-literal": false,
7471
"no-switch-case-fall-through": false,
7572
"no-trailing-whitespace": false,
76-
"no-unreachable": false,
7773
"no-unused-expression": false,
7874
"no-unused-new": false,
79-
"no-unused-variable": false,
8075
"no-use-before-declare": true,
8176
"no-var-keyword": true,
8277
"no-var-requires": false,
@@ -134,11 +129,6 @@
134129
}
135130
],
136131
"use-isnan": true,
137-
"use-strict": [
138-
false,
139-
"check-module",
140-
"check-function"
141-
],
142132
"variable-name": [
143133
true,
144134
"check-format",

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@
5050
"grunt-conventional-changelog": "^6.1.0",
5151
"grunt-exec": "^1.0.1",
5252
"grunt-mocha-test": "^0.13.2",
53-
"grunt-tslint": "^3.2.1",
53+
"grunt-tslint": "^4.0.1",
5454
"load-grunt-tasks": "^3.5.0",
5555
"mocha": "^3.0.2",
5656
"power-assert": "^1.4.2",
57-
"tslint": "^3.15.1",
57+
"tslint": "^4.4.2",
5858
"typescript": "^2.2.1"
5959
}
6060
}

0 commit comments

Comments
 (0)