mirror of
https://github.com/scratchfoundation/scratch-svg-renderer.git
synced 2025-06-11 04:30:56 -04:00
chore: add commitlint
This commit is contained in:
parent
73af501d53
commit
c39080afdc
4 changed files with 1925 additions and 1 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
|
4
commitlint.config.js
Normal file
4
commitlint.config.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
module.exports = {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
ignores: [message => message.startsWith('chore(release):')]
|
||||
};
|
1908
package-lock.json
generated
1908
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -32,6 +32,8 @@
|
|||
"transformation-matrix": "1.15.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "18.4.3",
|
||||
"@commitlint/config-conventional": "18.4.3",
|
||||
"babel-core": "6.26.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-loader": "7.1.5",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue