/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
.commitlintrc.ts
34 строки
738 B
Nico André
chore(commitlint): disable body-max-line-length rule (#26406)
22 май 2026, 10:39
Не верифицирован
22 май 2026, 10:39
0d0cdab
Код
Авторство
О чём код?
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', 'future', ], ], 'body-max-line-length': [RuleConfigSeverity.Disabled], }, ignores: [ (commitMessage) => { // add an exception for github return /^Merge branch '.*' into [a-zA-Z0-9\/\-_]+$/.test(commitMessage); }, ], }; export default config;