@halospv3/hce.shared-config
Version:
Automate commit message quality, changelogs, and CI/CD releases. Exports a semantic-release shareable configuration deserialized from this package's '.releaserc.yml'. Shared resources for .NET projects are also distributed with this package.
16 lines (13 loc) • 493 B
text/typescript
import { type RuleConfigSeverity, type UserConfig } from '@commitlint/types';
// CJS compatibility; This enum cannot be required.
const disabled = 0 as RuleConfigSeverity.Disabled;
const commitlintConfig: UserConfig = {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [disabled],
'footer-max-line-length': [disabled],
'header-max-length': [disabled],
},
};
// only `default` export is loaded via `extends` config key!
export default commitlintConfig;