Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Husky setup #365

Merged
merged 1 commit into from Mar 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .husky/pre-commit
Expand Up @@ -2,4 +2,3 @@
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
npx lint-staged
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -29,7 +29,7 @@
"format:fix": "npm run prettier -- --write",
"lint": "eslint --ext .js,.jsx .",
"lint:fix": "npm run lint -- --fix",
"postinstall": "husky install",
"prepare": "husky install",
"postversion": "git push origin v$npm_package_version && git push origin master",
"prettier": "prettier '**/*.{js,jsx,json,md}' '!docs-tools/**'",
"preversion": "npm run ensure-master && npm run format && npm run lint && npm run test",
Expand Down