Skip to content

Commit 23da6fa

Browse files
committed
chore(merge): main into 49
2 parents d0f43ba + 7427b67 commit 23da6fa

File tree

7 files changed

+2522
-15863
lines changed

7 files changed

+2522
-15863
lines changed

.husky/commit-msg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bunx commitlint --edit "$1"
2+

.husky/pre-commit

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
npx lint-staged
2-
1+
bunx lint-staged

angular.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
"schematicCollections": [
113113
"angular-eslint"
114114
],
115+
"packageManager": "bun",
115116
"analytics": false
116117
}
117118
}

bun.lock

Lines changed: 2483 additions & 0 deletions
Large diffs are not rendered by default.

commitlint.config.cjs

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
module.exports = {
2+
extends: ["@commitlint/config-conventional"],
3+
rules: {
4+
"type-enum": [
5+
2,
6+
"always",
7+
[
8+
"feat", // New feature
9+
"fix", // Bug fix
10+
"docs", // Documentation update
11+
"style", // Code style (formatting, missing semicolons, etc.)
12+
"refactor", // Code refactoring (no feature changes)
13+
"perf", // Performance improvements
14+
"test", // Adding tests
15+
"chore", // Build process, CI/CD, dependencies
16+
"revert" // Reverting changes
17+
]
18+
],
19+
"scope-empty": [2, "never"], // Scope must always be present
20+
"subject-case": [
21+
2,
22+
"always",
23+
["sentence-case", "start-case", "lower-case"] // Enforce casing
24+
],
25+
"subject-empty": [2, "never"], // Prevent empty subjects
26+
"header-max-length": [2, "always", 100], // Max length of the commit message header
27+
"body-leading-blank": [2, "always"], // Enforce blank line before the body
28+
"footer-leading-blank": [2, "always"], // Enforce blank line before footer
29+
"body-max-line-length": [2, "always", 200] // Set max length for body lines
30+
}
31+
};

0 commit comments

Comments
 (0)