mirror of
https://github.com/scratchfoundation/scratch-analysis.git
synced 2025-06-10 12:01:06 -04:00
chore: add commitlint
This commit is contained in:
parent
0b9570eb60
commit
4d1343ee90
4 changed files with 1373 additions and 6 deletions
9
.github/workflows/commitlint.yml
vendored
Normal file
9
.github/workflows/commitlint.yml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
name: Lint commit messages
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
commitlint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||
- uses: wagoid/commitlint-github-action@5ce82f5d814d4010519d15f0552aec4f17a1e1fe # 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):')]
|
||||
};
|
1364
package-lock.json
generated
1364
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -20,6 +20,8 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@babel/eslint-parser": "^7.5.4",
|
||||
"@commitlint/cli": "^19.7.1",
|
||||
"@commitlint/config-conventional": "^19.7.1",
|
||||
"eslint": "^8.16.0",
|
||||
"eslint-config-scratch": "^7.0.0",
|
||||
"scratch-semantic-release-config": "1.0.8",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue