Skip to content

Commit

Permalink
update husky
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Mineev committed Jul 10, 2022
1 parent 6dc39f2 commit b58fa7e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Empty file modified frontend/.husky/post-commit
100644 → 100755
Empty file.
3 changes: 1 addition & 2 deletions frontend/.husky/pre-commit
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
[ -n "$CI" ] && exit 0

cd frontend
npx --no-install lint-staged
lint-staged
pnpm run lint-staged
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"check:translation": "run-s translation:extract translation:check",
"lint:eslint": "eslint --max-warnings=0 \"**/*.{ts?(x),js}\"",
"lint:stylelint": "stylelint \"app/**/*.css\" \"templates/**\"",
"lint-staged": "lint-staged",
"size": "cross-env NODE_ENV=production npm run build && size-limit",
"prettier": "prettier --write \"./**/*.{js,ts,tsx,css,html}\"",
"translation:extract": "formatjs extract --out-file=./extracted-messages/messages.json \"**/*.{ts,tsx}\" --ignore=\"**/*.d.ts\"",
Expand Down

0 comments on commit b58fa7e

Please sign in to comment.