mirror of
https://github.com/lux-tel/websites.git
synced 2026-10-30 20:31:36 +00:00
29 lines
552 B
TypeScript
29 lines
552 B
TypeScript
import type { UserConfig } from '@commitlint/types';
|
|
import { RuleConfigSeverity } from '@commitlint/types';
|
|
|
|
const Configuration: UserConfig = {
|
|
extends: ['@commitlint/config-conventional'],
|
|
formatter: '@commitlint/format',
|
|
rules: {
|
|
'type-enum': [
|
|
RuleConfigSeverity.Error,
|
|
'always',
|
|
[
|
|
'build',
|
|
'chore',
|
|
'ci',
|
|
'docs',
|
|
'feat',
|
|
'fix',
|
|
'perf',
|
|
'refactor',
|
|
'revert',
|
|
'style',
|
|
'test',
|
|
],
|
|
],
|
|
},
|
|
};
|
|
|
|
export default Configuration;
|