Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pega/commitlint-config

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pega/commitlint-config - npm Package Compare versions

Comparing version 0.10.2 to 0.11.0

index.d.ts

96

index.js

@@ -1,4 +0,4 @@

'use strict';
// @ts-check
const plugin = require('@pega/commitlint-plugin');
import plugin from '@pega/commitlint-plugin';

@@ -8,59 +8,57 @@ const agileStudioPrefixes = ['EPIC-', 'US-', 'BUG-', 'ISSUE-', 'TASK-'];

const /** @type {import('@commitlint/types').UserConfig} */ Configuration = {
parserPreset: {
name: '',
path: '',
parserOpts: {
headerPattern: /^([a-z]+)(?:\(([^)]+)\))?!?: (.+)$/,
headerCorrespondence: ['type', 'scope', 'subject'],
referenceActions: ['AgileStudio:'],
issuePrefixes: [...agileStudioPrefixes, ...openAgilePrefixes],
issuePrefixesCaseSensitive: true,
noteKeywords: ['BREAKING CHANGE', 'AgileStudio', 'OpenAgile'],
// cSpell:disable
mergePattern: /^[Mm]erge/,
revertPattern: /^[Rr]evert/
// cSpell:enable
}
},
/** @type {import('@pega/commitlint-plugin').UserConfig} */
const config = {
parserPreset: {
name: '',
path: '',
parserOpts: {
headerPattern: /^([a-z]+)(?:\(([^)]+)\))?!?: (.+)$/,
headerCorrespondence: ['type', 'scope', 'subject'],
referenceActions: ['AgileStudio:'],
issuePrefixes: [...agileStudioPrefixes, ...openAgilePrefixes],
issuePrefixesCaseSensitive: true,
noteKeywords: ['BREAKING CHANGE', 'AgileStudio', 'OpenAgile'],
mergePattern: /^merge/i,
revertPattern: /^revert/i
}
},
defaultIgnores: false,
defaultIgnores: false,
rules: {
'type-empty': [2, 'never'],
'type-case': [2, 'always', 'lower-case'],
'type-enum': [2, 'always', ['feature', 'fix', 'refactor', 'style', 'test', 'docs', 'pkg']],
rules: {
'type-empty': [2, 'never'],
'type-case': [2, 'always', 'lower-case'],
'type-enum': [2, 'always', ['feature', 'fix', 'refactor', 'style', 'test', 'docs', 'pkg']],
'subject-empty': [2, 'never'],
'subject-case': [2, 'always', 'sentence-case'],
'subject-full-stop': [2, 'always'],
'subject-empty': [2, 'never'],
'subject-case': [2, 'always', 'sentence-case'],
'subject-full-stop': [2, 'always', '.'],
'@pega/header-reference': [2, 'never'],
'body-max-length': [2, 'never', 0],
'body-max-length': [2, 'never', 0],
'footer-leading-blank': [2, 'always'],
'footer-leading-blank': [2, 'always'],
'@pega/header-reference': [2, 'never'],
'@pega/reference-action-enum': [
2,
'always',
{
actions: ['AgileStudio:'],
caseSensitive: true
}
],
'@pega/reference-order': [2, 'always', { prefixes: agileStudioPrefixes }],
'@pega/reference-action-enum': [
2,
'always',
{
actions: ['AgileStudio:'],
caseSensitive: true
}
],
'@pega/reference-order': [2, 'always', { prefixes: agileStudioPrefixes }],
'@pega/agile-studio': [2, 'always', { prefixes: agileStudioPrefixes }],
'@pega/open-agile': [2, 'always', { prefixes: openAgilePrefixes }],
'@pega/agile-studio': [2, 'always', { prefixes: agileStudioPrefixes }],
'@pega/open-agile': [2, 'always', { prefixes: openAgilePrefixes }],
'@pega/spellcheck': [2, 'always', { ignorePrefixes: ['OpenAgile:'] }],
'@pega/spellcheck': [2, 'always', { ignorePrefixes: ['OpenAgile:'] }],
'@pega/merge-commit': [2, 'never'],
'@pega/revert-commit': [2, 'never']
},
'@pega/merge-commit': [2, 'never'],
'@pega/revert-commit': [2, 'never']
},
plugins: [plugin]
};
plugins: [plugin]
};
module.exports = Configuration;
export default config;
{
"name": "@pega/commitlint-config",
"version": "0.10.2",
"version": "0.11.0",
"description": "Pega front-end commitlint config.",

@@ -11,14 +11,26 @@ "keywords": [

"author": "Pegasystems",
"main": "index.js",
"type": "module",
"exports": {
".": {
"types": "./index.d.ts",
"default": "./index.js"
},
"./package.json": "./package.json"
},
"files": [
"index.d.ts",
"index.js",
"SECURITY.md"
],
"dependencies": {
"@commitlint/types": "^11.0.0"
"@commitlint/types": "^19.0.3"
},
"devDependencies": {
"@pega/commitlint-plugin": "0.10.2",
"commitlint": "^11.0.0"
"@commitlint/cli": "^19.3.0",
"@pega/commitlint-plugin": "0.11.0"
},
"peerDependencies": {
"@pega/commitlint-plugin": "0.10.2",
"commitlint": ">=11.0.0"
"@commitlint/cli": ">=19.0.0",
"@pega/commitlint-plugin": "0.11.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