Have ideas to improve npm?Join in the discussion! »

@commitlint/config-patternplate

11.0.0 • Public • Published

Lint your commits, patternplate-style

@commitlint/config-patternplate

Shareable commitlint config enforcing the patternplate commit convention. Use with @commitlint/cli and @commitlint/prompt-cli.

Getting started

npm install --save-dev @commitlint/config-patternplate @commitlint/cli
echo "module.exports = {extends: ['@commitlint/config-patternplate']};" > commitlint.config.js

Rules

@commitlint/config-patternplate extends the shareable angular config. Additionally these rules apply:

Problems

The following rules are considered problems for @commitlint/config-patterplate and will yield a non-zero exit code when not met.

scope-enum

  • description: scope is found in value
  • rule: always
  • value: determined based on pattern tree. system and all pattern ids present in patterns are allowed

Consult docs/rules for a list of available rules.

Install

npm i @commitlint/config-patternplate

DownloadsWeekly Downloads

88

Version

11.0.0

License

MIT

Unpacked Size

11.1 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar