1
0
Fork 0
Browse Source

chore: configure conventional commits

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
main
André Jaenisch 11 months ago
parent
commit
924f67336a
Signed by: ryuno-ki
GPG Key ID: 5A668E771F1ED854
  1. 4
      .husky/commit-msg
  2. 3
      commitlint.config.cjs
  3. 2272
      package-lock.json
  4. 3
      package.json

4
.husky/commit-msg

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run commit-msg

3
commitlint.config.cjs

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

2272
package-lock.json generated

File diff suppressed because it is too large Load Diff

3
package.json

@ -4,6 +4,7 @@
"description": "The topic in 2021 is SPACE",
"main": "index.js",
"scripts": {
"commit-msg": "commitlint -e",
"coverage": "nyc npm run test",
"lint": "npm run lint:js",
"lint:js": "eslint ./src",
@ -24,6 +25,8 @@
"author": "André Jaenisch",
"license": "GPL-3.0-or-later",
"devDependencies": {
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"chai": "4.3.4",
"eslint": "7.32.0",
"eslint-config-standard": "16.0.2",

Loading…
Cancel
Save