mirror of
https://github.com/scratchfoundation/scratch-storage.git
synced 2025-05-20 18:10:30 -04:00
chore: update commitlint and its config
This commit is contained in:
parent
4341b19c14
commit
f4d5ac0fca
4 changed files with 3515 additions and 536 deletions
12
.github/workflows/commitlint.yml
vendored
Normal file
12
.github/workflows/commitlint.yml
vendored
Normal 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
|
|
@ -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
4030
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue