core-validate-commit
Advanced tools
Comparing version 3.6.0 to 3.6.1
@@ -15,3 +15,3 @@ 'use strict' | ||
// all commits should have a body and a blank line after the title | ||
if (!context.body.length || context.body[0]) { | ||
if (context.body[0]) { | ||
context.report({ | ||
@@ -18,0 +18,0 @@ id: id |
{ | ||
"name": "core-validate-commit", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"description": "Validate the commit message for a particular commit in node core", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -25,9 +25,11 @@ # core-validate-commit | ||
$ core-validate-commit --list | ||
fixes-url enforce format of Fixes URLs | ||
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-length enforce max length of commit title | ||
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 | ||
``` | ||
@@ -34,0 +36,0 @@ |
52620
31
1691
49