Skip to content

Commit 704cc32

Browse files
authored
chore(commitlint): Rename configuration file (#6)
Signed-off-by: Chris Harrison <36608309+chris3ware@users.noreply.github.com>
1 parent c7537e7 commit 704cc32

File tree

2 files changed

+15
-32
lines changed

2 files changed

+15
-32
lines changed
Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1-
module.exports = {
2-
rules: {
1+
{
2+
"rules": {
33
"body-leading-blank": [1, "always"],
44
"body-max-line-length": [2, "always", 72],
55
"footer-leading-blank": [1, "always"],
66
"footer-max-line-length": [2, "always", 72],
77
"header-max-length": [2, "always", 72],
88
"scope-case": [2, "always", "lower-case"],
99
"scope-empty": [1, "never"],
10-
"scope-enum": [
11-
1,
12-
"always",
13-
["commitlint", ".github", "pr-check", "release", "trunk"],
14-
],
15-
//"signed-off-by": [1, "always", "Signed-off-by:"],
10+
"scope-enum": [2, "always", ["commitlint", ".github", "pr-check", "trunk"]],
1611
"subject-case": [1, "always", "sentence-case"],
1712
"subject-empty": [2, "never"],
1813
"subject-full-stop": [2, "never", "."],
@@ -21,19 +16,7 @@ module.exports = {
2116
"type-enum": [
2217
2,
2318
"always",
24-
[
25-
"build",
26-
"chore",
27-
"ci",
28-
"docs",
29-
"feat",
30-
"fix",
31-
"perf",
32-
"refactor",
33-
"revert",
34-
"style",
35-
"test",
36-
],
37-
],
38-
},
39-
};
19+
["chore", "ci", "docs", "feat", "fix", "refactor"]
20+
]
21+
}
22+
}

.trunk/trunk.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
33
version: 0.1
44
cli:
5-
version: 1.22.4
5+
version: 1.22.10
66
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
77
plugins:
88
sources:
99
- id: trunk
10-
ref: v1.6.2
10+
ref: v1.6.7
1111
uri: https://github.com/trunk-io/plugins
1212
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
1313
runtimes:
1414
enabled:
15-
- node@18.12.1
15+
- node@18.20.5
1616
- python@3.10.8
1717
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
1818
lint:
1919
enabled:
20-
- actionlint@1.7.1
21-
- checkov@3.2.243
20+
- actionlint@1.7.7
21+
- checkov@3.2.379
2222
- git-diff-check
23-
- markdownlint@0.41.0
24-
- prettier@3.3.3
25-
- trufflehog@3.81.10
23+
- markdownlint@0.44.0
24+
- prettier@3.5.3
25+
- trufflehog@3.88.14
2626
- yamllint@1.35.1
2727
actions:
2828
enabled:

0 commit comments

Comments
 (0)