Skip to content

Commit 6ee703d

Browse files
committed
fix: Don't restrict length for commit message footer (#467)
<!-- What / Why --> <!-- Describe the request in detail. What it does and why it's being changed. --> Our breaking change footers related to engine changes are often >100 characters, resulting in commitlint CI failures. <!-- Examples: Related to #0 Depends on #0 Blocked by #0 Fixes #0 Closes #0 --> Example CI failure: https://github.com/npm/ssri/actions/runs/10169599799/job/28126863705#step:7:12 Associated PR: npm/ssri#137
1 parent 87d3ed9 commit 6ee703d

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.commitlintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ module.exports = {
77
'header-max-length': [2, 'always', 80],
88
'subject-case': [0],
99
'body-max-line-length': [0],
10+
'footer-max-line-length': [0],
1011
},
1112
}

lib/content/commitlintrc-js.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ module.exports = {
55
'header-max-length': [2, 'always', 80],
66
'subject-case': [0],
77
'body-max-line-length': [0],
8+
'footer-max-line-length': [0],
89
},
910
}

tap-snapshots/test/apply/source-snapshots.js.test.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ module.exports = {
1717
'header-max-length': [2, 'always', 80],
1818
'subject-case': [0],
1919
'body-max-line-length': [0],
20+
'footer-max-line-length': [0],
2021
},
2122
}
2223
@@ -1455,6 +1456,7 @@ module.exports = {
14551456
'header-max-length': [2, 'always', 80],
14561457
'subject-case': [0],
14571458
'body-max-line-length': [0],
1459+
'footer-max-line-length': [0],
14581460
},
14591461
}
14601462

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy