chore: update commitlint and its config

This commit is contained in:
Christopher Willis-Ford 2023-12-20 18:46:37 -08:00
parent 4341b19c14
commit f4d5ac0fca
4 changed files with 3515 additions and 536 deletions

12
.github/workflows/commitlint.yml vendored Normal file
View file

@ -0,0 +1,12 @@
name: Lint commit messages
on: [pull_request]
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.sha }}"
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wagoid/commitlint-github-action@v5

View file

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

4030
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -41,8 +41,8 @@
"@babel/plugin-transform-runtime": "7.21.0",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.14.8",
"@commitlint/cli": "8.2.0",
"@commitlint/config-conventional": "8.2.0",
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@commitlint/travis-cli": "8.2.0",
"@types/jest": "29.5.1",
"babel-eslint": "10.1.0",