Skip to content

Commit 7d4ec4b

Browse files
committed
chore(lint): allow uppercase abbreviations in commit subjects
- Disable subject-case rule to allow PR, API, CLI, URL, etc. - Remove duplicate commitlint.config.js (keep .commitlintrc.yml)
1 parent 8df6cb4 commit 7d4ec4b

3 files changed

Lines changed: 3 additions & 32 deletions

File tree

.commitlintrc.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,9 @@ rules:
5050
- never
5151
- '.'
5252

53-
# Subject should be in sentence case (lowercase)
53+
# Disable subject-case to allow uppercase abbreviations (PR, API, CLI, etc.)
5454
subject-case:
55-
- 2
56-
- always
57-
- lower-case
55+
- 0
5856

5957
# Header (first line) max length
6058
header-max-length:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dist/
1313

1414
# Dependency directories
1515
vendor/
16+
node_modules/
1617

1718
# Go workspace file
1819
go.work

commitlint.config.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)