Skip to content

Commit

Permalink
Merge pull request #1 from rejas/fix_pretty_quick_too
Browse files Browse the repository at this point in the history
Fix call to pretty quick, make husky script executable
  • Loading branch information
khassel authored May 26, 2021
2 parents e2c9339 + 57fe94f commit 32819c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pretty-quick --staged
npm run lint:staged
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"lint:prettier": "prettier --write **/*.{js,css,json,md,yml}",
"lint:js": "eslint js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json --fix",
"lint:css": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json --fix",
"lint:staged": "pretty-quick --staged",
"prepare": "[ -f node_modules/.bin/husky ] && husky install || echo no husky installed."
},
"repository": {
Expand Down

0 comments on commit 32819c4

Please sign in to comment.