Skip to content

Commit

Permalink
fix: update commitlint and husky configurations (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander authored Feb 14, 2025
1 parent 628023a commit 2fb148e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
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 --config commitlint.config.mjs --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 --no fluid-lint-all
1 change: 1 addition & 0 deletions commitlint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default { extends: ["@commitlint/config-conventional"] };
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"lint": "fluid-lint-all",
"start": "npm-run-all -l clean -p start:*",
"start:webpack": "mix watch",
"start:eleventy": "cross-env NODE_ENV=development eleventy --serve"
"start:eleventy": "cross-env NODE_ENV=development eleventy --serve",
"prepare": "husky"
},
"dependencies": {
"@11ty/eleventy": "0.12.1",
Expand Down

0 comments on commit 2fb148e

Please sign in to comment.