Skip to content

Commit

Permalink
Fix pre-commit hook (Alfresco#4792)
Browse files Browse the repository at this point in the history
* Fix pre-commit hook

* Remove excluded files from tslint lib config
  • Loading branch information
davidcanonieto authored and eromano committed May 30, 2019
1 parent b91a942 commit cccd955
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit cccd955

Please sign in to comment.