Skip to content

Commit

Permalink
NEO-823 Migrate husky config (#573)
Browse files Browse the repository at this point in the history
* NEO-823 Migrate husky config

Signed-off-by: Christian Paul <christian.paul@nordeck.net>

* Also 'husky install' is deprecated

Signed-off-by: Milton Moura <miltonmoura@gmail.com>

---------

Signed-off-by: Christian Paul <christian.paul@nordeck.net>
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
Co-authored-by: Milton Moura <miltonmoura@gmail.com>
  • Loading branch information
jaller94 and mgcm authored Oct 9, 2024
1 parent b3abade commit 8c5368f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

node ./node_modules/lint-staged/bin/lint-staged.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"deduplicate": "yarn-deduplicate",
"depcheck": "depcheck --ignores=@types/jest,@types/node,prettier-plugin-organize-imports,typescript,i18next-parser,jest,@testing-library/dom,@changesets/cli,sass,@carbon/import-once",
"lint": "eslint .",
"prepare": "husky install",
"prepare": "husky",
"translate": "i18next 'src/**/*.{ts,tsx}'",
"prettier:check": "prettier --check .",
"prettier:write": "prettier --write .",
Expand Down

0 comments on commit 8c5368f

Please sign in to comment.