@shlroland/commitlint-config
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,8 +0,3 @@ | ||
declare const config: { | ||
extends: string[]; | ||
rules: { | ||
'subject-case': number[]; | ||
'scope-case': number[]; | ||
}; | ||
}; | ||
import type { UserConfig } from 'cz-git'; | ||
declare const config: UserConfig; | ||
export default config; |
@@ -9,4 +9,97 @@ "use strict"; | ||
}, | ||
prompt: { | ||
messages: { | ||
type: "Select the type of change that you're committing:", | ||
scope: 'Denote the SCOPE of this change (optional):', | ||
customScope: 'Denote the SCOPE of this change:', | ||
subject: 'Write a SHORT, IMPERATIVE tense description of the change:\n', | ||
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n', | ||
breaking: 'List any BREAKING CHANGES (optional). Use "|" to break new line:\n', | ||
footerPrefixsSelect: 'Select the ISSUES type of changeList by this change (optional):', | ||
customFooterPrefixs: 'Input ISSUES Prefix:', | ||
footer: 'List any ISSUES by this change. E.g.: #31, #34, #I972S:\n', | ||
confirmCommit: 'Are you sure you want to proceed with the commit above ?', | ||
}, | ||
types: [ | ||
{ | ||
value: 'feat', | ||
name: 'feat: ✨ A new feature', | ||
emoji: ':sparkles:', | ||
}, | ||
{ value: 'fix', name: 'fix: 🐛 A bug fix', emoji: ':bug:' }, | ||
{ | ||
value: 'docs', | ||
name: 'docs: 📝 Documentation only changes', | ||
emoji: ':memo:', | ||
}, | ||
{ | ||
value: 'style', | ||
name: 'style: 💄 Changes that do not affect the meaning of the code', | ||
emoji: ':lipstick:', | ||
}, | ||
{ | ||
value: 'refactor', | ||
name: 'refactor: ♻️ A code change that neither fixes a bug nor adds a feature', | ||
emoji: ':recycle:', | ||
}, | ||
{ | ||
value: 'perf', | ||
name: 'perf: ⚡️ A code change that improves performance', | ||
emoji: ':zap:', | ||
}, | ||
{ | ||
value: 'test', | ||
name: 'test: ✅ Adding missing tests or correcting existing tests', | ||
emoji: ':white_check_mark:', | ||
}, | ||
{ | ||
value: 'build', | ||
name: 'build: 🏗️ Changes that affect the build system or external dependencies', | ||
emoji: ':building_construction:', | ||
}, | ||
{ | ||
value: 'ci', | ||
name: 'ci: 💚 Changes to our CI configuration files and scripts', | ||
emoji: ':green_heart:', | ||
}, | ||
{ | ||
value: 'chore', | ||
name: "chore: 🔨 Other changes that don't modify src or test files", | ||
emoji: ':hammer:', | ||
}, | ||
{ | ||
value: 'revert', | ||
name: 'revert: ⏪️ Reverts a previous commit', | ||
emoji: ':rewind:', | ||
}, | ||
], | ||
useEmoji: true, | ||
scopes: [], | ||
allowCustomScopes: true, | ||
allowEmptyScopes: true, | ||
customScopesAlign: 'bottom', | ||
customScopesAlias: 'custom', | ||
emptyScopesAlias: 'empty', | ||
allowBreakingChanges: ['feat', 'fix'], | ||
upperCaseSubject: false, | ||
breaklineChar: '|', | ||
skipQuestions: [], | ||
issuePrefixs: [ | ||
{ value: 'closed', name: 'closed: ISSUES has been processed' }, | ||
], | ||
customIssuePrefixsAlign: 'top', | ||
emptyIssuePrefixsAlias: 'skip', | ||
customIssuePrefixsAlias: 'custom', | ||
confirmColorize: true, | ||
maxHeaderLength: Infinity, | ||
maxSubjectLength: Infinity, | ||
minSubjectLength: 0, | ||
scopeOverrides: undefined, | ||
defaultBody: '', | ||
defaultIssues: '', | ||
defaultScope: '', | ||
defaultSubject: '', | ||
}, | ||
}; | ||
exports.default = config; | ||
module.exports = config; |
{ | ||
"name": "@shlroland/commitlint-config", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "", | ||
@@ -16,2 +16,6 @@ "main": "./lib/index.js", | ||
}, | ||
"peerDependencies": { | ||
"@commitlint/cli": "^16.2.1", | ||
"@commitlint/config-conventional": "^16.2.1" | ||
}, | ||
"dependencies": { | ||
@@ -21,2 +25,5 @@ "@commitlint/cli": "^16.2.1", | ||
}, | ||
"devDependencies": { | ||
"cz-git": "^1.2.1" | ||
}, | ||
"scripts": { | ||
@@ -23,0 +30,0 @@ "build": "tsc -p tsconfig.json", |
Sorry, the diff of this file is not supported yet
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
48787
107
4
1