@theholocron/commitlint-config 6.1.0 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commitlint.config.js +6 -0
- package/package.json +1 -1
package/commitlint.config.js
CHANGED
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
const config = {
|
|
6
6
|
extends: ["@commitlint/config-conventional"],
|
|
7
7
|
ignores: [(message) => /^chore\(deps(-dev)?\): Bump/.test(message)],
|
|
8
|
+
rules: {
|
|
9
|
+
// Trailers (Co-authored-by, Signed-off-by) are parsed as body text when
|
|
10
|
+
// there is no body paragraph, causing false positives. header-max-length
|
|
11
|
+
// covers the only line length that actually matters for readability.
|
|
12
|
+
"body-max-line-length": [0, "always", Infinity],
|
|
13
|
+
},
|
|
8
14
|
};
|
|
9
15
|
|
|
10
16
|
export default config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/commitlint-config",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"description": "A CommitLint configuration for writing well-formatted and consistent Git commits.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/configs/tree/main/packages/commitlint-config#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/configs/issues",
|