UNPKG

@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.

24 lines (20 loc) 765 B
import type { RuleConfigSeverity, UserConfig } from '@commitlint/types'; // explicit type annotations for isolatedDeclarations. Allows for faster processing. const disabled = 0 as RuleConfigSeverity.Disabled; const commitlintConfig: UserConfig & { extends: UserConfig['extends'] | ['@commitlint/config-conventional']; rules: { 'body-max-line-length': [typeof disabled]; 'footer-max-line-length': [typeof disabled]; 'header-max-length': [typeof disabled]; }; } = { 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;