Skip to content

Commit

Permalink
chore: setup pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
shepherdjerred committed Jun 2, 2024
1 parent 6f6854e commit 002c9f4
Show file tree
Hide file tree
Showing 6 changed files with 1,006 additions and 2 deletions.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default { extends: ["@commitlint/config-conventional"] };
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ export default tseslint.config(
},
},
ignores: ["*.js"],
files: ["tsconfig.json"],
},
);
Loading

0 comments on commit 002c9f4

Please sign in to comment.