chore: add and configure commitlint

This commit is contained in:
Christopher Willis-Ford 2022-10-13 09:44:08 -07:00
parent 52c7deca3b
commit 5c4b474124
4 changed files with 3499 additions and 89 deletions

View file

@ -1,5 +1,6 @@
version: 2.1
orbs:
commitlint: conventional-changelog/commitlint@1.0.0
node: circleci/node@5.0.3
alias:
- &defaults
@ -16,6 +17,10 @@ jobs:
- run: npx semantic-release
workflows:
version: 2
commitlint:
jobs:
- commitlint/lint:
target-branch: master
main-workflow:
jobs:
- main-job

4
commitlint.config.js Normal file
View file

@ -0,0 +1,4 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
ignores: [message => message.startsWith('chore(release):')]
};

3577
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -33,6 +33,8 @@
},
"devDependencies": {
"@babel/eslint-parser": "7.17.0",
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.1.0",
"eslint": "8.15.0"
},
"config": {