Skip to content

Commit 41dfa1b

Browse files
committed
chore(workspace): reduce useless commitlint config
1 parent 51ba4c3 commit 41dfa1b

File tree

1 file changed

+0
-90
lines changed

1 file changed

+0
-90
lines changed

commitlint.config.cjs

Lines changed: 0 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -10,83 +10,6 @@ module.exports = {
1010
},
1111
prompt: {
1212
path: 'cz-git',
13-
alias: {
14-
fd: 'docs: fix typos',
15-
},
16-
messages: {
17-
type: 'Select the type of change that you\'re committing:',
18-
scope: 'Denote the SCOPE of this change (optional):',
19-
customScope: 'Denote the SCOPE of this change:',
20-
subject: 'Write a SHORT, IMPERATIVE tense description of the change:\n',
21-
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
22-
breaking: 'List any BREAKING CHANGES (optional). Use "|" to break new line:\n',
23-
footerPrefixesSelect: 'Select the ISSUES type of changeList by this change (optional):',
24-
customFooterPrefix: 'Input ISSUES prefix:',
25-
footer: 'List any ISSUES by this change. E.g.: #31, #34:\n',
26-
generatingByAI: 'Generating your AI commit subject...',
27-
generatedSelectByAI: 'Select suitable subject by AI generated:',
28-
confirmCommit: 'Are you sure you want to proceed with the commit above?',
29-
},
30-
types: [
31-
{
32-
value: 'feat',
33-
name: 'feat: A new feature',
34-
emoji: ':sparkles:',
35-
},
36-
{
37-
value: 'fix',
38-
name: 'fix: A bug fix',
39-
emoji: ':bug:',
40-
},
41-
{
42-
value: 'docs',
43-
name: 'docs: Documentation only changes',
44-
emoji: ':memo:',
45-
},
46-
{
47-
value: 'style',
48-
name: 'style: Changes that do not affect the meaning of the code',
49-
emoji: ':lipstick:',
50-
},
51-
{
52-
value: 'refactor',
53-
name: 'refactor: A code change that neither fixes a bug nor adds a feature',
54-
emoji: ':recycle:',
55-
},
56-
{
57-
value: 'perf',
58-
name: 'perf: A code change that improves performance',
59-
emoji: ':zap:',
60-
},
61-
{
62-
value: 'test',
63-
name: 'test: Adding missing tests or correcting existing tests',
64-
emoji: ':white_check_mark:',
65-
},
66-
{
67-
value: 'build',
68-
name: 'build: Changes that affect the build system or external dependencies',
69-
emoji: ':package:',
70-
},
71-
{
72-
value: 'ci',
73-
name: 'ci: Changes to our CI configuration files and scripts',
74-
emoji: ':ferris_wheel:',
75-
},
76-
{
77-
value: 'chore',
78-
name: 'chore: Other changes that don\'t modify src or test files',
79-
emoji: ':hammer:',
80-
},
81-
{
82-
value: 'revert',
83-
name: 'revert: Reverts a previous commit',
84-
emoji: ':rewind:',
85-
},
86-
],
87-
// useEmoji: true,
88-
emojiAlign: 'left',
89-
themeColorCode: '',
9013
scopes: [
9114
'plugin',
9215
'dialect-tauri',
@@ -96,21 +19,12 @@ module.exports = {
9619
'builder',
9720
'workspace',
9821
],
99-
allowCustomScopes: true,
100-
allowEmptyScopes: true,
101-
customScopesAlign: 'bottom',
102-
customScopesAlias: 'custom',
103-
emptyScopesAlias: 'empty',
104-
upperCaseSubject: false,
10522
markBreakingChangeMode: true,
10623
allowBreakingChanges: [
10724
'feat',
10825
'fix',
10926
'chore',
11027
],
111-
breaklineNumber: 100,
112-
breaklineChar: '|',
113-
skipQuestions: [],
11428
issuePrefixes: [
11529
{
11630
value: 'closed',
@@ -119,10 +33,6 @@ module.exports = {
11933
],
12034
customIssuePrefixAlign: !issue ? 'top' : 'bottom',
12135
defaultIssues: !issue ? '' : `#${issue}`,
122-
emptyIssuePrefixAlias: 'skip',
123-
customIssuePrefixAlias: 'custom',
124-
allowCustomIssuePrefix: true,
125-
allowEmptyIssuePrefix: true,
12636
confirmColorize: true,
12737
minSubjectLength: 0,
12838
defaultBody: '',

0 commit comments

Comments
 (0)