mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-04 01:16:12 +08:00
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>
This commit is contained in:
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx lint-staged
|
||||
Reference in New Issue
Block a user