mirror of
https://github.com/scratchfoundation/eslint-config-scratch.git
synced 2025-08-28 22:40:13 -04:00
chore: add and configure commitlint
This commit is contained in:
parent
52c7deca3b
commit
5c4b474124
4 changed files with 3499 additions and 89 deletions
|
@ -1,5 +1,6 @@
|
|||
version: 2.1
|
||||
orbs:
|
||||
commitlint: conventional-changelog/commitlint@1.0.0
|
||||
node: circleci/node@5.0.3
|
||||
alias:
|
||||
- &defaults
|
||||
|
@ -16,6 +17,10 @@ jobs:
|
|||
- run: npx semantic-release
|
||||
workflows:
|
||||
version: 2
|
||||
commitlint:
|
||||
jobs:
|
||||
- commitlint/lint:
|
||||
target-branch: master
|
||||
main-workflow:
|
||||
jobs:
|
||||
- main-job
|
||||
|
|
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):')]
|
||||
};
|
3577
package-lock.json
generated
3577
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -33,6 +33,8 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@babel/eslint-parser": "7.17.0",
|
||||
"@commitlint/cli": "17.1.2",
|
||||
"@commitlint/config-conventional": "17.1.0",
|
||||
"eslint": "8.15.0"
|
||||
},
|
||||
"config": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue