nginxconfig.io/.husky/pre-commit
Amrit Timalsina c026007a5d
Add Husky + lint-staged (#398)
* Add and setup husky

* Add lint-staged and configure with husky

* Remove eslint

* Remove prettier

* Remove typescript react/jsx and add vue extension

* Add stylelint calls

* Add eslintcache ignore

* Add eslint cache  in all eslint command

* Add config in stylelint

* Add cache option in remaining eslint scripts

* Remove cache option

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
2022-11-21 15:37:14 +00:00

4 lines
58 B
Bash
Executable file

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged