Skip to content

Commit

Permalink
Fix husky workflow (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophstad committed Mar 4, 2021
1 parent 9674763 commit b499365
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
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

0 comments on commit b499365

Please sign in to comment.