-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.commitlintrc.ts
More file actions
37 lines (34 loc) · 669 Bytes
/
.commitlintrc.ts
File metadata and controls
37 lines (34 loc) · 669 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
32
33
34
35
36
37
/**
* @file Configuration - commitlint
* @module config/commitlint
* @see https://commitlint.js.org
*/
import {
RuleConfigSeverity as Severity,
type UserConfig
} from '@commitlint/types'
import { scopes } from '@flex-development/commitlint-config'
/**
* `commitlint` configuration object.
*
* @const {UserConfig} config
*/
const config: UserConfig = {
extends: ['@flex-development'],
rules: {
'scope-enum': [Severity.Error, 'always', scopes([
'bump',
'changelog',
'chore',
'cli',
'config',
'git',
'grease',
'log',
'nestjs',
'options',
'symbol'
])]
}
}
export default config