Skip to content

Commit 2a1b8bb

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 2a1b8bb

2 files changed

Lines changed: 2 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:

commitlint.config.js

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

0 commit comments

Comments
 (0)