Skip to content

Commit

Permalink
Merge pull request #6 from ArweaveTeam/fix/husky
Browse files Browse the repository at this point in the history
maybe better husky
  • Loading branch information
hlolli authored Nov 15, 2023
2 parents 5dda4d3 + ee70278 commit 7bd6abd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@

npm run check:lint && npm run check:types
npm run format:renderer && npm run format:main
npm run check:lint && npm run check:types
npm run format:renderer && npm run format:main
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"check:types": "npx tsc --noEmit",
"format:renderer": "prettier --write \"renderer/**/*.{js,jsx,ts,tsx,css}\"",
"format:main": "prettier --write \"main/**/*.{js,ts}\"",
"prepare": "husky install && husky add .husky/pre-commit \"npm run check:lint && npm run check:types\" && husky add .husky/pre-commit \"npm run format:renderer && npm run format:main\""
"prepare": "husky install"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 7bd6abd

Please sign in to comment.