Skip to content

Commit e7938ef

Browse files
committed
chore: setup bug repro
0 parents  commit e7938ef

File tree

5 files changed

+3858
-0
lines changed

5 files changed

+3858
-0
lines changed

.commitlintrc.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const dummyGetScope = (ctx: any) => 'testScope'
2+
3+
const config = {
4+
extends: ['@commitlint/config-conventional'],
5+
rules: {
6+
'scope-enum': async (ctx: any) => [2, 'always', [...(await dummyGetScope(ctx)), 'your', 'other', 'scopes']]
7+
},
8+
};
9+
10+
export default config;

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

0 commit comments

Comments
 (0)