New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@uphold/commitlint-config

Package Overview
Dependencies
Maintainers
9
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uphold/commitlint-config - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "@uphold/commitlint-config",
"version": "1.1.0",
"version": "1.1.1",
"description": "Shareable commitlint config enforcing Uphold's commit conventions",

@@ -5,0 +5,0 @@ "author": "Uphold",

@@ -18,3 +18,2 @@ # commitlint-config-uphold

1. Header must not end with a full-stop.
1. Body must not exceed 72 characters per line.
1. Body can make use of all verb tenses.

@@ -21,0 +20,0 @@

@@ -11,3 +11,2 @@ 'use strict';

rules: {
'body-max-line-length': [2, 'always', 72],
'subject-case': [2, 'always', 'sentence-case'],

@@ -14,0 +13,0 @@ 'subject-empty': [2, 'never'],

@@ -97,15 +97,2 @@ 'use strict';

it('should fail if a line in body exceeds 72 chars', async () => {
const message = `Add new environment Mars
This new environment was added because other development environments were congested.
`;
const { errors, warnings, valid } = await lint(message, rules, options);
expect(valid).toBe(false);
expect(errors).toEqual([expect.objectContaining({ name: 'body-max-line-length' })]);
expect(warnings).toHaveLength(0);
});
describe('verb tense test cases', () => {

@@ -112,0 +99,0 @@ [

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc