mirror of
https://github.com/scratchfoundation/scratch-gui.git
synced 2024-11-25 16:26:20 +08:00
chore: add commitlint
This commit is contained in:
parent
2943cca040
commit
4180bbe751
@ -1,7 +1,8 @@
|
||||
version: 2.1
|
||||
orbs:
|
||||
node: circleci/node@5.0.2
|
||||
browser-tools: circleci/browser-tools@1.2.4
|
||||
browser-tools: circleci/browser-tools@1.2.4
|
||||
commitlint: conventional-changelog/commitlint@1.0.0
|
||||
node: circleci/node@5.0.2
|
||||
aliases:
|
||||
- &save_git_cache
|
||||
save_cache:
|
||||
@ -220,6 +221,10 @@ jobs:
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
commitlint:
|
||||
jobs:
|
||||
- commitlint/lint:
|
||||
target-branch: develop
|
||||
push-translations:
|
||||
triggers:
|
||||
- schedule:
|
||||
|
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):')]
|
||||
};
|
1572
package-lock.json
generated
1572
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -101,6 +101,8 @@
|
||||
"@babel/plugin-transform-async-to-generator": "7.14.5",
|
||||
"@babel/preset-env": "7.14.8",
|
||||
"@babel/preset-react": "7.14.5",
|
||||
"@commitlint/cli": "17.1.2",
|
||||
"@commitlint/config-conventional": "17.1.0",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-eslint": "10.0.3",
|
||||
"babel-loader": "8.2.2",
|
||||
|
Loading…
Reference in New Issue
Block a user