skip folder w'o package.json; restrict linter to src folders

This commit is contained in:
Jörg Breitbart
2019-10-25 18:07:32 +02:00
parent 25c18e8e07
commit 6f8cbc56eb
2 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
"prepackage": "npm run build",
"package": "webpack",
"start": "node demo/start",
"lint": "tslint 'src/**/*.ts' 'addons/**/*.ts'",
"lint": "tslint 'src/**/*.ts' 'addons/*/src/**/*.ts'",
"test": "npm run test-unit",
"posttest": "npm run lint",
"test-api": "mocha \"**/*.api.js\"",