Skip to content

Commit 4180bbe

Browse files
committed
chore: add commitlint
1 parent 2943cca commit 4180bbe

File tree

4 files changed

+1602
-19
lines changed

4 files changed

+1602
-19
lines changed

.circleci/config.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
version: 2.1
22
orbs:
3-
node: circleci/[email protected]
4-
browser-tools: circleci/[email protected]
3+
browser-tools: circleci/[email protected]
4+
commitlint: conventional-changelog/[email protected]
5+
node: circleci/[email protected]
56
aliases:
67
- &save_git_cache
78
save_cache:
@@ -220,6 +221,10 @@ jobs:
220221

221222
workflows:
222223
version: 2
224+
commitlint:
225+
jobs:
226+
- commitlint/lint:
227+
target-branch: develop
223228
push-translations:
224229
triggers:
225230
- schedule:

commitlint.config.js

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

0 commit comments

Comments
 (0)