feat(git): add commit lint refs#6130
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Pablo Natek 2023-10-15 11:33:05 +02:00
parent a2f843f4e2
commit a0eb6d0399
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx --no -- commitlint --edit ${1}
npm run commitlint ${1}

View File

@ -114,7 +114,8 @@
"test:front": "jest --watch",
"back": "nodemon --inspect -w modules ./node_modules/gulp/bin/gulp.js back",
"lint": "eslint ./ --cache --ignore-pattern .gitignore",
"docker": "docker build --progress=plain -t salix-db ./db"
"docker": "docker build --progress=plain -t salix-db ./db",
"commitlint": "commitlint --edit"
},
"jest": {
"projects": [