mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-05-22 03:10:51 -04:00
chore: add commitlint
This commit is contained in:
parent
34ac8e2fe3
commit
20bf634928
4 changed files with 3180 additions and 15 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):')]
|
||||
};
|
3177
package-lock.json
generated
3177
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -24,6 +24,8 @@
|
|||
"watch": "webpack --progress --colors --watch --watch-poll"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "18.4.3",
|
||||
"@commitlint/config-conventional": "18.4.3",
|
||||
"babel-core": "6.26.3",
|
||||
"babel-eslint": "10.1.0",
|
||||
"babel-loader": "7.1.5",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue