Skip to content

Commit 8209cf1

Browse files
committed
fix: commitlint config
1 parent a842862 commit 8209cf1

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

commitlint.config.cjs

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

commitlint.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import conventional from '@commitlint/config-conventional';
2+
import { UserConfig } from '@commitlint/types';
3+
4+
const config: UserConfig = {
5+
extends: ['@commitlint/config-conventional'],
6+
rules: {
7+
'type-enum': [2, 'always', [...conventional.rules['type-enum'][2], 'release']],
8+
},
9+
};
10+
11+
export default config;

0 commit comments

Comments
 (0)