We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24b6144 commit 3fc77d7Copy full SHA for 3fc77d7
templates/app/_package.json
@@ -214,7 +214,8 @@
214
},
215
"scripts": {
216
"lint": "npm run lint:client && npm run lint:server",
217
- "lint:client": "eslint ./client/**/*.<%= scriptExt %> -c ./client/.eslintrc --ignore-pattern *.spec.<%= scriptExt %>",
+ "lint:client": <% if(filters.babel) { %>"eslint ./client/**/*.<%= scriptExt %> -c ./client/.eslintrc --ignore-pattern *.spec.<%= scriptExt %>"<% }
218
+ else { %>"tslint --format verbose ./client/{**/**,**}/*.ts"<% } %>,
219
"lint:server": "eslint ./server/**/*.js -c ./server/.eslintrc --ignore-pattern *.spec.js --ignore-pattern *.integration.js",
220
"test": "gulp test",
221
"test:client": "karma start ./karma.conf.js --single-run",
0 commit comments