Skip to content

Commit feb61ac

Browse files
committed
chore: add commitlint
1 parent 92fbb88 commit feb61ac

File tree

4 files changed

+3829
-1
lines changed

4 files changed

+3829
-1
lines changed

.circleci/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
version: 2.1
22

33
orbs:
4+
commitlint: conventional-changelog/[email protected]
45
node: circleci/[email protected]
56

67
executors:
@@ -18,6 +19,15 @@ commands:
1819
- node/install-packages
1920

2021
workflows:
22+
commitlint:
23+
jobs:
24+
- commitlint/lint:
25+
target-branch: develop
26+
filters:
27+
branches:
28+
ignore:
29+
- develop
30+
- main
2131
build-test:
2232
jobs:
2333
- build_test

commitlint.config.js

Lines changed: 4 additions & 0 deletions
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)