@commitlint/config-lerna-scopes
Shareable commitlint config enforcing lerna package names as scopes
Last updated 3 months ago by escapedcat .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @commitlint/config-lerna-scopes 
SYNC missed versions from official npm registry.

Lint your commits, angular-style

@commitlint/config-lerna-scopes

Shareable commitlint config enforcing lerna package names as scopes. Use with @commitlint/cli and @commitlint/prompt-cli.

Getting started

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

Examples

❯ cat commitlint.config.js
{
  extends: ['@commitlint/config-lerna-scopes']
}

❯ tree packages

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

❯ echo "build(api): change something in api's build" | commitlint
⧗   input: build(api): change something in api's build
✔   found 0 problems, 0 warnings

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

❯ echo "ci: do some general maintenance" | commitlint
⧗   input: ci: do some general maintenance
✔   found 0 problems, 0 warnings

Consult docs/rules for a list of available rules.

Current Tags

  • 11.0.0                                ...           latest (3 months ago)

48 Versions

  • 11.0.0                                ...           3 months ago
  • 10.0.0                                ...           4 months ago
  • 9.1.2                                ...           5 months ago
  • 9.1.1                                ...           5 months ago
  • 9.1.0                                ...           5 months ago
  • 9.0.1                                ...           6 months ago
  • 9.0.0                                ...           6 months ago
  • 8.3.4                                ...           a year ago
  • 8.3.2                                ...           a year ago
  • 8.3.0                                ...           a year ago
  • 8.2.0                                ...           a year ago
  • 8.1.0                                ...           a year ago
  • 8.0.0                                ...           2 years ago
  • 7.6.0                                ...           2 years ago
  • 7.5.1                                ...           2 years ago
  • 7.5.0                                ...           2 years ago
  • 7.3.1                                ...           2 years ago
  • 7.3.0                                ...           2 years ago
  • 7.2.1                                ...           2 years ago
  • 7.1.2                                ...           2 years ago
  • 7.1.1                                ...           2 years ago
  • 7.0.0                                ...           2 years ago
  • 6.1.3                                ...           3 years ago
  • 6.1.2                                ...           3 years ago
  • 6.1.1                                ...           3 years ago
  • 6.1.0                                ...           3 years ago
  • 6.0.4                                ...           3 years ago
  • 6.0.3                                ...           3 years ago
  • 6.0.2                                ...           3 years ago
  • 6.0.0                                ...           3 years ago
  • 5.2.7                                ...           3 years ago
  • 5.3.0-1                                ...           3 years ago
  • 5.2.6                                ...           3 years ago
  • 5.2.0                                ...           3 years ago
  • 5.1.1                                ...           3 years ago
  • 5.1.0                                ...           3 years ago
  • 5.0.1                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 4.3.0                                ...           3 years ago
  • 4.2.1                                ...           3 years ago
  • 4.2.0                                ...           3 years ago
  • 4.1.1                                ...           3 years ago
  • 3.1.1                                ...           3 years ago
  • 3.0.4                                ...           3 years ago
  • 3.1.0                                ...           3 years ago
  • 3.0.3                                ...           3 years ago
  • 3.0.2                                ...           3 years ago
  • 3.0.0                                ...           3 years ago

Copyright 2014 - 2016 © taobao.org |