chore: add commitlint

This commit is contained in:
Christopher Willis-Ford 2022-09-19 10:52:53 -07:00
parent 2943cca040
commit 4180bbe751
4 changed files with 1585 additions and 2 deletions

View File

@ -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
View File

@ -0,0 +1,4 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
ignores: [message => message.startsWith('chore(release):')]
};

1572
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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",