File tree 3 files changed +4
-13
lines changed
3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ module.exports = function (grunt) {
16
16
} ,
17
17
tslint : {
18
18
options : {
19
- configuration : grunt . file . readJSON ( "_tslint.json" )
19
+ configuration : "_tslint.json" ,
20
+ fix : true
20
21
} ,
21
22
files : {
22
23
src : [
Original file line number Diff line number Diff line change 25
25
],
26
26
"jsdoc-format" : false ,
27
27
"label-position" : true ,
28
- "label-undefined" : true ,
29
28
"max-line-length" : [
30
29
false ,
31
30
140
52
51
" trace"
53
52
],
54
53
"no-construct" : true ,
55
- "no-constructor-vars" : false ,
56
54
"no-debugger" : true ,
57
- "no-duplicate-key" : true ,
58
55
"no-duplicate-variable" : true ,
59
56
"no-empty" : false ,
60
57
"no-eval" : true ,
73
70
"no-string-literal" : false ,
74
71
"no-switch-case-fall-through" : false ,
75
72
"no-trailing-whitespace" : false ,
76
- "no-unreachable" : false ,
77
73
"no-unused-expression" : false ,
78
74
"no-unused-new" : false ,
79
- "no-unused-variable" : false ,
80
75
"no-use-before-declare" : true ,
81
76
"no-var-keyword" : true ,
82
77
"no-var-requires" : false ,
134
129
}
135
130
],
136
131
"use-isnan" : true ,
137
- "use-strict" : [
138
- false ,
139
- " check-module" ,
140
- " check-function"
141
- ],
142
132
"variable-name" : [
143
133
true ,
144
134
" check-format" ,
Original file line number Diff line number Diff line change 50
50
"grunt-conventional-changelog" : " ^6.1.0" ,
51
51
"grunt-exec" : " ^1.0.1" ,
52
52
"grunt-mocha-test" : " ^0.13.2" ,
53
- "grunt-tslint" : " ^3.2 .1" ,
53
+ "grunt-tslint" : " ^4.0 .1" ,
54
54
"load-grunt-tasks" : " ^3.5.0" ,
55
55
"mocha" : " ^3.0.2" ,
56
56
"power-assert" : " ^1.4.2" ,
57
- "tslint" : " ^3.15.1 " ,
57
+ "tslint" : " ^4.4.2 " ,
58
58
"typescript" : " ^2.2.1"
59
59
}
60
60
}
You can’t perform that action at this time.
0 commit comments