mirror of
https://github.com/strapi/strapi.git
synced 2025-06-27 00:41:25 +00:00
27 lines
495 B
TypeScript
27 lines
495 B
TypeScript
![]() |
import type { UserConfig } from '@commitlint/types';
|
||
|
import { RuleConfigSeverity } from '@commitlint/types';
|
||
|
|
||
|
const config: UserConfig = {
|
||
|
extends: ['@commitlint/config-conventional'],
|
||
|
rules: {
|
||
|
'type-enum': [
|
||
|
RuleConfigSeverity.Error,
|
||
|
'always',
|
||
|
[
|
||
|
'chore',
|
||
|
'ci',
|
||
|
'docs',
|
||
|
'enhancement',
|
||
|
'feat',
|
||
|
'fix',
|
||
|
'release',
|
||
|
'revert',
|
||
|
'security',
|
||
|
'test',
|
||
|
],
|
||
|
],
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default config;
|