This package has been deprecated

Author message:

renamed to commitlint: https://git.io/vQ1rU

conventional-changelog-lint-config-lerna-scopes

1.0.0 • Public • Published

Lint your commits, angular-style

conventional-changelog-lint-config-lerna-scopes

Shareable conventional-changelog-lint config enforcing lerna package names as scopes.

Installation

npm install --save-dev conventional-changelog-lint-config-lerna-scopes conventional-changelog-lint

Usage

Install and use as conventional-changelog-lint shareable config.

// .conventional-changelog-lintrc
{
  "extends": ["angular", "lerna-scopes"]
}

Examples

❯ cat .conventional-changelog-lintrc
{
  "extends": ["lerna-scopes"]
}

❯ tree packages

packages
├── api
├── app
└── web

❯ echo "chore(api): fix something in api's build" | conventional-changelog-lint
⧗   input: chore(api): fix something in api's build
✔   found 0 problems, 0 warnings

❯ echo "chore(foo): this won't pass" | conventional-changelog-lint
⧗   input: chore(foo): this won't pass
✖   scope must be one of [api, app, web] [scope-enum]
✖   found 1 problems, 0 warnings

❯ echo "chore: do some general maintenance" | conventional-changelog-lint
⧗   input: chore: do some general maintenance
✔   found 0 problems, 0 warnings

⇨ See conventional-changelog-lint/shareable-config for details


Copyright (c) by Mario Nebl and contributors. Released under the MIT license.

Package Sidebar

Install

npm i conventional-changelog-lint-config-lerna-scopes

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • marionebl