@pega/commitlint-config
Advanced tools
Comparing version 0.10.2 to 0.11.0
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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14921
6
52
Yes
+ Added@cspell/dict-ada@4.0.5(transitive)
+ Added@cspell/dict-al@1.0.3(transitive)
+ Added@cspell/dict-aws@4.0.7(transitive)
+ Added@cspell/dict-bash@4.1.8(transitive)
+ Added@cspell/dict-companies@3.1.11(transitive)
+ Added@cspell/dict-cpp@6.0.2(transitive)
+ Added@cspell/dict-cryptocurrencies@5.0.3(transitive)
+ Added@cspell/dict-csharp@4.0.5(transitive)
+ Added@cspell/dict-css@4.0.16(transitive)
+ Added@cspell/dict-dart@2.2.4(transitive)
+ Added@cspell/dict-data-science@2.0.5(transitive)
+ Added@cspell/dict-django@4.1.3(transitive)
+ Added@cspell/dict-docker@1.1.11(transitive)
+ Added@cspell/dict-dotnet@5.0.8(transitive)
+ Added@cspell/dict-elixir@4.0.6(transitive)
+ Added@cspell/dict-en-common-misspellings@2.0.7(transitive)
+ Added@cspell/dict-filetypes@3.0.9(transitive)
+ Added@cspell/dict-flutter@1.0.3(transitive)
+ Added@cspell/dict-fonts@4.0.3(transitive)
+ Added@cspell/dict-fsharp@1.0.4(transitive)
+ Added@cspell/dict-gaming-terms@1.0.9(transitive)
+ Added@cspell/dict-git@3.0.3(transitive)
+ Added@cspell/dict-google@1.0.4(transitive)
+ Added@cspell/dict-haskell@4.0.4(transitive)
+ Added@cspell/dict-html@4.0.10(transitive)
+ Added@cspell/dict-java@5.0.10(transitive)
+ Added@cspell/dict-julia@1.0.4(transitive)
+ Added@cspell/dict-k8s@1.0.9(transitive)
+ Added@cspell/dict-lorem-ipsum@4.0.3(transitive)
+ Added@cspell/dict-lua@4.0.6(transitive)
+ Added@cspell/dict-makefile@1.0.3(transitive)
+ Added@cspell/dict-markdown@2.0.7(transitive)
+ Added@cspell/dict-monkeyc@1.0.9(transitive)
+ Added@cspell/dict-node@5.0.5(transitive)
+ Added@cspell/dict-npm@5.1.20(transitive)
+ Added@cspell/dict-php@4.0.13(transitive)
+ Added@cspell/dict-powershell@5.0.13(transitive)
+ Added@cspell/dict-public-licenses@2.0.11(transitive)
+ Added@cspell/dict-python@4.2.13(transitive)
+ Added@cspell/dict-r@2.0.4(transitive)
+ Added@cspell/dict-rust@4.0.10(transitive)
+ Added@cspell/dict-scala@5.0.6(transitive)
+ Added@cspell/dict-software-terms@4.2.1(transitive)
+ Added@cspell/dict-sql@2.1.8(transitive)
+ Added@cspell/dict-svelte@1.0.5(transitive)
+ Added@cspell/dict-swift@2.0.4(transitive)
+ Added@cspell/dict-terraform@1.0.7(transitive)
+ Added@cspell/dict-typescript@3.1.11(transitive)
+ Added@cspell/dict-vue@3.0.3(transitive)
+ Added@pega/commitlint-plugin@0.11.0(transitive)
+ Added@types/node@22.10.2(transitive)
+ Addedtinyexec@0.3.1(transitive)
+ Addedyaml@2.6.1(transitive)
- Removed@commitlint/types@11.0.0(transitive)
- Removed@cspell/dict-ada@4.0.6(transitive)
- Removed@cspell/dict-al@1.0.4(transitive)
- Removed@cspell/dict-aws@4.0.8(transitive)
- Removed@cspell/dict-bash@4.1.9(transitive)
- Removed@cspell/dict-companies@3.1.12(transitive)
- Removed@cspell/dict-cpp@6.0.3(transitive)
- Removed@cspell/dict-cryptocurrencies@5.0.4(transitive)
- Removed@cspell/dict-csharp@4.0.6(transitive)
- Removed@cspell/dict-css@4.0.17(transitive)
- Removed@cspell/dict-dart@2.2.5(transitive)
- Removed@cspell/dict-data-science@2.0.6(transitive)
- Removed@cspell/dict-django@4.1.4(transitive)
- Removed@cspell/dict-docker@1.1.12(transitive)
- Removed@cspell/dict-dotnet@5.0.9(transitive)
- Removed@cspell/dict-elixir@4.0.7(transitive)
- Removed@cspell/dict-en-common-misspellings@2.0.8(transitive)
- Removed@cspell/dict-filetypes@3.0.10(transitive)
- Removed@cspell/dict-flutter@1.0.4(transitive)
- Removed@cspell/dict-fonts@4.0.4(transitive)
- Removed@cspell/dict-fsharp@1.0.5(transitive)
- Removed@cspell/dict-gaming-terms@1.0.10(transitive)
- Removed@cspell/dict-git@3.0.4(transitive)
- Removed@cspell/dict-google@1.0.5(transitive)
- Removed@cspell/dict-haskell@4.0.5(transitive)
- Removed@cspell/dict-html@4.0.11(transitive)
- Removed@cspell/dict-java@5.0.11(transitive)
- Removed@cspell/dict-julia@1.0.5(transitive)
- Removed@cspell/dict-k8s@1.0.10(transitive)
- Removed@cspell/dict-lorem-ipsum@4.0.4(transitive)
- Removed@cspell/dict-lua@4.0.7(transitive)
- Removed@cspell/dict-makefile@1.0.4(transitive)
- Removed@cspell/dict-markdown@2.0.8(transitive)
- Removed@cspell/dict-monkeyc@1.0.10(transitive)
- Removed@cspell/dict-node@5.0.6(transitive)
- Removed@cspell/dict-npm@5.1.21(transitive)
- Removed@cspell/dict-php@4.0.14(transitive)
- Removed@cspell/dict-powershell@5.0.14(transitive)
- Removed@cspell/dict-public-licenses@2.0.12(transitive)
- Removed@cspell/dict-python@4.2.14(transitive)
- Removed@cspell/dict-r@2.0.5(transitive)
- Removed@cspell/dict-rust@4.0.11(transitive)
- Removed@cspell/dict-scala@5.0.7(transitive)
- Removed@cspell/dict-software-terms@4.2.2(transitive)
- Removed@cspell/dict-sql@2.1.9(transitive)
- Removed@cspell/dict-svelte@1.0.6(transitive)
- Removed@cspell/dict-swift@2.0.5(transitive)
- Removed@cspell/dict-terraform@1.0.8(transitive)
- Removed@cspell/dict-typescript@3.1.12(transitive)
- Removed@cspell/dict-vue@3.0.4(transitive)
- Removed@pega/commitlint-plugin@0.10.2(transitive)
- Removed@types/node@22.10.3(transitive)
- Removedcommitlint@19.6.1(transitive)
- Removedtinyexec@0.3.2(transitive)
- Removedyaml@2.7.0(transitive)
Updated@commitlint/types@^19.0.3