chore: more commitlint config to package.json

to reduce the number of unnecessary files
This commit is contained in:
Isaac 2023-06-11 23:59:27 +01:00
parent b38e1625d9
commit 3c3b854601
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -16,6 +16,11 @@
"studio": "npx prisma studio",
"test": "echo \"There's nothing to test\" && exit 1"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/*.js": [
"npm run lint --"