Package Exports
- @commitlint/config-angular
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@commitlint/config-angular) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Lint your commits, angular-style
@commitlint/config-angular
Shareable commitlint config enforcing the angular commit convention.
Use with @commitlint/cli and @commitlint/prompt-cli.
Getting started
npm install --save-dev @commitlint/config-angular @commitlint/cli
echo "module.exports = {extends: ['@commitlint/config-angular']};" > commitlint.config.jsRules
Problems
The following rules are considered problems for @commitlint/config-angular and will yield a non-zero exit code when not met.
Consult docs/rules for a list of available rules.
type-enum
condition:
typeis found in valuerule:
alwaysvalue
[ 'build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test' ]
type-case
- description:
typeis in casevalue - rule:
always - value
'lowerCase'
type-empty
- condition:
typeis empty - rule:
never
scope-case
- condition:
scopeis in casevalue - rule:
always
'lowerCase'subject-empty
- condition:
subjectis empty - rule:
never
subject-full-stop
- condition:
subjectends withvalue - rule:
never - value
'.'header-max-length
- condition:
headerhasvalueor less characters - rule:
always - value
72Warnings
The following rules are considered warnings for @commitlint/config-angular and will print warning messages when not met.
body-leading-blank
- condition: Body begins with blank line
- rule:
always
lang
- condition:
subjectis of languagevalue - rule:
always - value
eng