UNPKG

@wormhole-labs/dev-config

Version:

Shared development configuration and tooling for Wormhole Labs projects

36 lines (34 loc) 870 B
/** * CommitLint configuration for Wormhole Labs projects * Enforces Conventional Commits specification * ES Module version for wagoid/commitlint-github-action@v6+ */ export default { extends: ['@commitlint/config-conventional'], rules: { // Customize rules as needed 'type-enum': [ 2, 'always', [ 'feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert', ], ], 'scope-case': [2, 'always', 'lower-case'], 'subject-case': [2, 'never', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']], 'subject-full-stop': [2, 'never', '.'], 'subject-max-length': [2, 'always', 100], 'body-max-line-length': [2, 'always', 100], 'footer-max-line-length': [2, 'always', 100], }, };