Skip to content

Commit 6616021

Browse files
committed
chore(package): bump tslint deps
1 parent 94ce6bf commit 6616021

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

templates/app/_package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"gulp-babel": "^7.0.0",<% if(filters.ts) { %>
127127
"gulp-typescript": "~3.2.2",
128128
"gulp-typings": "^1.3.6",
129-
"gulp-tslint": "^5.0.0",<% } %>
129+
"gulp-tslint": "^8.0.0",<% } %>
130130
"gulp-env": "^0.4.0",
131131
"gulp-eslint": "^2.0.0",
132132
"gulp-imagemin": "^3.0.1",
@@ -207,7 +207,7 @@
207207
"proxyquire": "^1.0.1",
208208
"strip-ansi": "^4.0.0",
209209
"supertest": "^3.0.0"<% if(filters.ts) { %>,
210-
"tslint": "^3.5.0"<% } %>
210+
"tslint": "^5.7.0"<% } %>
211211
},
212212
"engines": {
213213
"node": "^6.2.2",

templates/app/client/tslint.json(ts)

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"no-trailing-whitespace": true,
3030
"no-unused-expression": true,
3131
"no-unused-variable": true,
32-
"no-unreachable": true,
3332
"no-use-before-declare": true,
3433
"one-line": [true,
3534
"check-open-brace",
@@ -58,4 +57,4 @@
5857
"check-type"
5958
]
6059
}
61-
}
60+
}

templates/app/gulpfile.babel.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ function whenServerReady(cb) {
9797
let lintClientScripts = lazypipe()<% if(filters.babel) { %>
9898
.pipe(plugins.eslint, `${clientPath}/.eslintrc`)
9999
.pipe(plugins.eslint.format);<% } %><% if(filters.ts) { %>
100-
.pipe(plugins.tslint, require(`./${clientPath}/tslint.json`))
101-
.pipe(plugins.tslint.report, 'verbose', {emitError: false});<% } %>
100+
.pipe(plugins.tslint, { formatter: 'verbose' })
101+
.pipe(plugins.tslint.report, {emitError: false});<% } %>
102102

103103
const lintClientTestScripts = lazypipe()
104104
<%_ if(filters.babel) { -%>
@@ -113,8 +113,8 @@ const lintClientTestScripts = lazypipe()
113113
.pipe(plugins.eslint.format);
114114
<%_ } -%>
115115
<%_ if(filters.ts) { -%>
116-
.pipe(plugins.tslint, require(`./${clientPath}/tslint.json`))
117-
.pipe(plugins.tslint.report, 'verbose', {emitError: false});
116+
.pipe(plugins.tslint, { formatter: 'verbose' })
117+
.pipe(plugins.tslint.report, {emitError: false});
118118
<%_ } -%>
119119

120120
let lintServerScripts = lazypipe()

0 commit comments

Comments
 (0)