@theholocron/commitlint-config 8.9.0-alpha.1 → 8.9.0-alpha.16

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/dist/index.d.ts CHANGED
@@ -2,10 +2,15 @@
2
2
  * @see https://commitlint.js.org/reference/configuration.html
3
3
  */
4
4
  declare const config: {
5
+ /** Extends the Conventional Commits rule set from `@commitlint/config-conventional`. */
5
6
  extends: string[];
7
+ /** Commit messages commitlint skips entirely: dependency bump commits such as `chore(deps): Bump ...`. */
6
8
  ignores: ((message: string) => boolean)[];
9
+ /** Rule overrides applied on top of the extended Conventional Commits rules. */
7
10
  rules: {
11
+ /** Turned off (level 0): trailers are parsed as body text when there is no body paragraph, which gives false positives. */
8
12
  "body-max-line-length": [0, "always", number];
13
+ /** Turned off (level 0): the `Signed-off-by:` trailer sits in the footer and would otherwise trip the line-length check. */
9
14
  "footer-max-line-length": [0];
10
15
  };
11
16
  };
package/dist/index.js CHANGED
@@ -3,14 +3,19 @@
3
3
  * @see https://commitlint.js.org/reference/configuration.html
4
4
  */
5
5
  const config = {
6
+ /** Extends the Conventional Commits rule set from `@commitlint/config-conventional`. */
6
7
  extends: ["@commitlint/config-conventional"],
8
+ /** Commit messages commitlint skips entirely: dependency bump commits such as `chore(deps): Bump ...`. */
7
9
  ignores: [(message) => /^chore\(deps(-dev)?\): Bump/.test(message)],
10
+ /** Rule overrides applied on top of the extended Conventional Commits rules. */
8
11
  rules: {
12
+ /** Turned off (level 0): trailers are parsed as body text when there is no body paragraph, which gives false positives. */
9
13
  "body-max-line-length": [
10
14
  0,
11
15
  "always",
12
16
  Infinity
13
17
  ],
18
+ /** Turned off (level 0): the `Signed-off-by:` trailer sits in the footer and would otherwise trip the line-length check. */
14
19
  "footer-max-line-length": [0]
15
20
  }
16
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/commitlint-config",
3
- "version": "8.9.0-alpha.1",
3
+ "version": "8.9.0-alpha.16",
4
4
  "description": "A CommitLint configuration for writing well-formatted and consistent Git commits.",
5
5
  "keywords": [
6
6
  "commitlint",
@@ -33,13 +33,13 @@
33
33
  "dist/"
34
34
  ],
35
35
  "devDependencies": {
36
- "@commitlint/types": "^21.2.0",
37
- "@vitest/coverage-v8": "^5.0.5",
38
- "tsdown": "^0.23.3",
36
+ "@commitlint/types": "^21.2.3",
37
+ "@vitest/coverage-v8": "^5.1.0",
38
+ "tsdown": "^0.23.5",
39
39
  "typescript": "^5.9.3",
40
- "vitest": "^5.0.5",
41
- "@theholocron/tsconfig": "8.9.0-alpha.1",
42
- "@theholocron/vitest-config": "8.9.0-alpha.1"
40
+ "vitest": "^5.1.0",
41
+ "@theholocron/vitest-config": "8.9.0-alpha.16",
42
+ "@theholocron/tsconfig": "8.9.0-alpha.16"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@commitlint/cli": "^21",
@@ -52,10 +52,10 @@
52
52
  "access": "public"
53
53
  },
54
54
  "scripts": {
55
- "delivery.build": "tsdown",
56
- "sourceQuality.staticAnalysis": "eslint .",
55
+ "build": "tsdown",
56
+ "lint:code": "eslint .",
57
+ "test:unit": "vitest run --coverage",
57
58
  "test:watch": "vitest",
58
- "verification.typeSafety": "tsc --noEmit",
59
- "verification.unitTests": "vitest run"
59
+ "typecheck": "tsc --noEmit"
60
60
  }
61
61
  }