generated from LordRonz/nextjs-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcommitlint.config.ts
More file actions
31 lines (29 loc) · 628 Bytes
/
commitlint.config.ts
File metadata and controls
31 lines (29 loc) · 628 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* eslint-disable @typescript-eslint/ban-ts-comment */
// @ts-ignore
import type { UserConfig } from '@commitlint/types';
export const Configuration: UserConfig = {
extends: ['@commitlint/config-conventional'],
rules: {
// TODO Add Scope Enum Here
// 'scope-enum': [2, 'always', ['yourscope', 'yourscope']],
'type-enum': [
2,
'always',
[
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
'vercel',
],
],
},
};
export default Configuration;