Skip to content

Commit 54d4ebd

Browse files
committed
fix(grunt): exclude jshint config if using TypeScript
1 parent b41d4a6 commit 54d4ebd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: templates/app/Gruntfile(grunt).js

+3-1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ module.exports = function(grunt) {
141141
tasks: ['wiredep']
142142
},
143143
},
144+
<%_ if(!filters.ts) { _%>
144145

145146
// Make sure code styles are up to par and there are no obvious mistakes
146147
jshint: {
@@ -164,7 +165,8 @@ module.exports = function(grunt) {
164165
test: {
165166
src: ['<%%= yeoman.client %>/{app,components}/**/*.{spec,mock}.js']
166167
}
167-
},<% if(filters.ts) { %>
168+
},<% } %>
169+
<%_ if(filters.ts) { _%>
168170

169171
tslint: {
170172
options: {

0 commit comments

Comments
 (0)