Socket
Socket
Sign inDemoInstall

@commitlint/config-conventional

Package Overview
Dependencies
Maintainers
4
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/config-conventional - npm Package Compare versions

Comparing version 18.6.2 to 19.0.0

2

lib/index.d.ts

@@ -110,3 +110,3 @@ import { RuleConfigCondition, RuleConfigSeverity, TargetCaseType } from '@commitlint/types';

};
export = _default;
export default _default;
//# sourceMappingURL=index.d.ts.map

@@ -1,27 +0,26 @@

"use strict";
const types_1 = require("@commitlint/types");
module.exports = {
import { RuleConfigSeverity, } from '@commitlint/types';
export default {
parserPreset: 'conventional-changelog-conventionalcommits',
rules: {
'body-leading-blank': [types_1.RuleConfigSeverity.Warning, 'always'],
'body-max-line-length': [types_1.RuleConfigSeverity.Error, 'always', 100],
'footer-leading-blank': [types_1.RuleConfigSeverity.Warning, 'always'],
'body-leading-blank': [RuleConfigSeverity.Warning, 'always'],
'body-max-line-length': [RuleConfigSeverity.Error, 'always', 100],
'footer-leading-blank': [RuleConfigSeverity.Warning, 'always'],
'footer-max-line-length': [
types_1.RuleConfigSeverity.Error,
RuleConfigSeverity.Error,
'always',
100,
],
'header-max-length': [types_1.RuleConfigSeverity.Error, 'always', 100],
'header-trim': [types_1.RuleConfigSeverity.Error, 'always'],
'header-max-length': [RuleConfigSeverity.Error, 'always', 100],
'header-trim': [RuleConfigSeverity.Error, 'always'],
'subject-case': [
types_1.RuleConfigSeverity.Error,
RuleConfigSeverity.Error,
'never',
['sentence-case', 'start-case', 'pascal-case', 'upper-case'],
],
'subject-empty': [types_1.RuleConfigSeverity.Error, 'never'],
'subject-full-stop': [types_1.RuleConfigSeverity.Error, 'never', '.'],
'type-case': [types_1.RuleConfigSeverity.Error, 'always', 'lower-case'],
'type-empty': [types_1.RuleConfigSeverity.Error, 'never'],
'subject-empty': [RuleConfigSeverity.Error, 'never'],
'subject-full-stop': [RuleConfigSeverity.Error, 'never', '.'],
'type-case': [RuleConfigSeverity.Error, 'always', 'lower-case'],
'type-empty': [RuleConfigSeverity.Error, 'never'],
'type-enum': [
types_1.RuleConfigSeverity.Error,
RuleConfigSeverity.Error,
'always',

@@ -28,0 +27,0 @@ [

{
"name": "@commitlint/config-conventional",
"version": "18.6.2",
"type": "module",
"version": "19.0.0",
"description": "Shareable commitlint config enforcing conventional commits",
"main": "lib/index.js",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./wrapper.mjs",
"require": "./lib/index.js"
}
},
"files": [

@@ -44,10 +38,10 @@ "lib/"

"devDependencies": {
"@commitlint/lint": "^18.6.1",
"@commitlint/utils": "^18.6.1"
"@commitlint/lint": "^19.0.0",
"@commitlint/utils": "^19.0.0"
},
"dependencies": {
"@commitlint/types": "^18.6.1",
"@commitlint/types": "^19.0.0",
"conventional-changelog-conventionalcommits": "^7.0.2"
},
"gitHead": "93fa15ee545ba2b0e3b6b83ed947bd143662a74c"
"gitHead": "f1ff12159d627ee63bf8982ab02e6cca8f10b09f"
}

@@ -1,5 +0,5 @@

> Lint your conventional commits
# @commitlint/config-conventional
Lint your conventional commits
Shareable `commitlint` config enforcing [conventional commits](https://conventionalcommits.org/).

@@ -12,3 +12,3 @@ Use with [@commitlint/cli](https://npm.im/@commitlint/cli) and [@commitlint/prompt-cli](https://npm.im/@commitlint/prompt-cli).

npm install --save-dev @commitlint/config-conventional @commitlint/cli
echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
echo "export default {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
```

@@ -22,3 +22,3 @@

Consult [docs/rules](https://conventional-changelog.github.io/commitlint/#/reference-rules) for a list of available rules.
Consult [Rules reference](https://commitlint.js.org/reference/rules) for a list of available rules.

@@ -25,0 +25,0 @@ #### type-enum

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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