Skip to content

Commit

Permalink
Merge pull request #16 from jhancock532/precommit
Browse files Browse the repository at this point in the history
Add pre-commit
  • Loading branch information
jhancock532 authored Dec 28, 2024
2 parents f448a37 + 181b55a commit ab7c1f5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run lint
23 changes: 23 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"react-to-storybook": "tsx scripts/react-to-storybook.ts",
"generate-visual-tests": "tsx scripts/generate-visual-tests.ts",
"make-migration": "tsx scripts/make-migration.ts",
"apply-migration": "tsx scripts/apply-migration.ts"
"apply-migration": "tsx scripts/apply-migration.ts",
"prepare": "husky"
},
"dependencies": {
"@anthropic-ai/sdk": "0.30.1",
Expand Down Expand Up @@ -58,6 +59,7 @@
"axe-playwright": "2.0.3",
"eslint-config-torchbox": "1.1.0",
"eslint-plugin-storybook": "0.8.0",
"husky": "^9.1.7",
"storybook": "8.2.7",
"stylelint": "16.8.1",
"stylelint-config-css-modules": "4.4.0",
Expand Down

0 comments on commit ab7c1f5

Please sign in to comment.