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