Skip to content

Commit 92d869a

Browse files
committed
chore: change commitlint config to js from cjs; add deps type-enum
1 parent 6f9c213 commit 92d869a

2 files changed

Lines changed: 25 additions & 3 deletions

File tree

commitlint.config.cjs

Lines changed: 0 additions & 3 deletions
This file was deleted.

commitlint.config.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
const Configuration = {
2+
extends: ["@commitlint/config-conventional"],
3+
rules: {
4+
"type-enum": [
5+
2,
6+
"always",
7+
[
8+
"build",
9+
"chore",
10+
"ci",
11+
"docs",
12+
"feat",
13+
"fix",
14+
"perf",
15+
"refactor",
16+
"revert",
17+
"style",
18+
"test",
19+
"deps",
20+
],
21+
],
22+
},
23+
};
24+
25+
export default Configuration;

0 commit comments

Comments
 (0)