Fix pre-commit hook (#4792)

* Fix pre-commit hook

* Remove excluded files from tslint lib config
This commit is contained in:
davidcanonieto 2019-05-30 17:47:59 +01:00 committed by Eugenio Romano
parent b91a942aa1
commit cccd95562c

View File

@ -234,8 +234,12 @@
"module": "./index.js",
"typings": "./index.d.ts",
"lint-staged": {
"*.ts": "npm run lint-lib -- --fix",
"*.scss": "npm run stylelint --syntax scss"
"linters": {
"**/demo-shell/**/*.ts": "npm run lint-lib -- --fix",
"**/lib/**/*.ts": "npm run lint-lib -- --fix",
"**/e2e/**/*.ts": "npm run lint-e2e -- --fix",
"*.scss": "npm run stylelint -- --fix"
}
},
"husky": {
"hooks": {