chore: added commit lint

This commit is contained in:
Diango Gavidia 2024-06-21 01:49:50 -04:00
parent 85a9e3ff41
commit 61cc64b782
4 changed files with 1143 additions and 24 deletions

1
.husky/commit-msg Normal file
View file

@ -0,0 +1 @@
npx --no -- commitlint --edit $1

1
commitlint.config.js Normal file
View file

@ -0,0 +1 @@
module.exports = { extends: ["@commitlint/config-conventional"] };

1161
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -17,6 +17,8 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.12",
"@types/node": "^18.15.11",
@ -57,4 +59,4 @@
"lint-staged": {
"*.(js|ts)": "npm run lint:fix"
}
}
}