4.1.0 • Published 3 months ago

core-validate-commit v4.1.0

Weekly downloads
194
License
MIT
Repository
github
Last release
3 months ago

core-validate-commit

Build Status codecov

Validate the commit message for a particular commit in node core

Install

$ npm install [-g] core-validate-commit

Usage

# for a single commit
$ core-validate-commit <sha>

# validate since <sha>
$ git rev-list <sha>..HEAD | xargs core-validate-commit

# list all rules
$ core-validate-commit --list
         fixes-url enforce format of Fixes URLs
  line-after-title enforce a blank newline after the commit title
       line-length enforce max length of lines in commit body
      metadata-end enforce that metadata is at the end of commit messages
            pr-url enforce PR-URL
         reviewers enforce having reviewers
         subsystem enforce subsystem validity
      title-format enforce commit title format
      title-length enforce max length of commit title

To see a list of valid subsystems:

$ core-validate-commit --list-subsystem

Valid subsystems are also defined in lib/rules/subsystem.js.

Test

$ npm test

Author

Evan Lucas

License

MIT (See LICENSE for more info)

4.1.0

3 months ago

3.20.0

2 years ago

3.19.0

2 years ago

4.0.0

2 years ago

3.17.0

2 years ago

3.18.0

2 years ago

3.17.1

2 years ago

3.16.1

2 years ago

3.16.0

3 years ago

3.15.0

3 years ago

3.14.0

3 years ago

3.13.4

4 years ago

3.13.3

4 years ago

3.13.2

4 years ago

3.13.1

5 years ago

3.13.0

5 years ago

3.12.1

5 years ago

3.12.0

5 years ago

3.11.3

5 years ago

3.11.2

5 years ago

3.11.1

5 years ago

3.11.0

6 years ago

3.10.1

6 years ago

3.10.0

6 years ago

3.9.0

6 years ago

3.8.0

6 years ago

3.7.0

6 years ago

3.6.3

6 years ago

3.6.2

6 years ago

3.6.1

6 years ago

3.6.0

6 years ago

3.5.1

6 years ago

3.5.0

7 years ago

3.4.0

7 years ago

3.3.0

7 years ago

3.2.1

7 years ago

3.2.0

8 years ago

3.1.0

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.2.0

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.1.0

8 years ago

1.0.0

9 years ago