Skip to content

Commit

Permalink
chore: add precomit checks
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejVukosav committed Jun 14, 2024
1 parent 354e851 commit e7cd11c
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 25 deletions.
5 changes: 5 additions & 0 deletions packages/calimero-sdk/.husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pnpm test

pnpm prettier

pnpm lint:fix
3 changes: 2 additions & 1 deletion packages/calimero-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"husky": "^9.0.11",
"jest": "^26.0.1",
"prettier": "3.3.2",
"rimraf": "^3.0.0",
Expand All @@ -68,7 +69,7 @@
"prefuzz": "pnpm build",
"fuzz": "jsfuzz test/fuzz/borsh-roundtrip.js test/fuzz/corpus/",
"clean": "pnpm rimraf lib node_modules",
"prepare": "pnpm build",
"prepare": "husky",
"bundlewatch": "bundlewatch",
"prettier": "exec prettier . --write"
},
Expand Down
58 changes: 34 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e7cd11c

Please sign in to comment.