Skip to content

Commit

Permalink
chore: add commitlint and husky and lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Oct 9, 2024
1 parent 638af91 commit ec18c0c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lint-staged
3 changes: 3 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"*": "prettier --ignore-unknown --write"
}
1 change: 0 additions & 1 deletion commitlint.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^10.5.4",
"lint-staged": "^15.2.10",
"mockjs": "^1.1.0",
"prettier": "^2.8.8",
"prettier": "^3.3.3",
"react-dev-inspector": "^1.9.0",
"swagger-ui-dist": "^4.19.1",
"ts-node": "^10.9.2",
Expand Down

0 comments on commit ec18c0c

Please sign in to comment.