Socket
Socket
Sign inDemoInstall

core-validate-commit

Package Overview
Dependencies
12
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.6.0 to 3.6.1

test/rules/line-after-title.js

2

lib/rules/line-after-title.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc