19.1.0 • Published 2 months ago

@commitlint/config-rush-scopes v19.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@commitlint/config-rush-scopes

Lint your rush project commits

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

Getting started

npm install --save-dev @commitlint/config-rush-scopes @commitlint/cli
echo "export default {extends: ['@commitlint/config-rush-scopes']};" > commitlint.config.js

Examples

❯ cat commitlint.config.js
{
  extends: ['@commitlint/config-rush-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 Rules reference for a list of available rules.

19.1.0

2 months ago

19.0.0

2 months ago

18.6.1

3 months ago

18.4.4

4 months ago

18.4.3

5 months ago

17.8.1

7 months ago

18.4.0

6 months ago

18.1.0

6 months ago

18.0.0

6 months ago

17.4.2

1 year ago

17.4.0

1 year ago

17.2.0

2 years ago

17.0.0

2 years ago

16.2.1

2 years ago

16.0.0

2 years ago