Only lint HTML files with prettier (#592)

This commit is contained in:
alalamav 2020-02-28 17:59:32 -05:00 committed by GitHub
parent b0a9f38390
commit e9eb2d30ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@
],
"husky": {
"hooks": {
"pre-commit": "yarn tslint --fix 'src/**/*.ts' -e '**/bower_components/**' -e '**/node_modules/**' && yarn git-clang-format && yarn pretty-quick --staged"
"pre-commit": "yarn tslint --fix 'src/**/*.ts' -e '**/bower_components/**' -e '**/node_modules/**' && yarn git-clang-format && yarn pretty-quick --staged --pattern '**/*.html'"
}
}
}