diff --git a/commitlint.config.js b/.commitlintrc.json similarity index 57% rename from commitlint.config.js rename to .commitlintrc.json index 649cf17..a52d700 100644 --- a/commitlint.config.js +++ b/.commitlintrc.json @@ -1,5 +1,5 @@ -module.exports = { - rules: { +{ + "rules": { "body-leading-blank": [1, "always"], "body-max-line-length": [2, "always", 72], "footer-leading-blank": [1, "always"], @@ -7,12 +7,7 @@ module.exports = { "header-max-length": [2, "always", 72], "scope-case": [2, "always", "lower-case"], "scope-empty": [1, "never"], - "scope-enum": [ - 1, - "always", - ["commitlint", ".github", "pr-check", "release", "trunk"], - ], - //"signed-off-by": [1, "always", "Signed-off-by:"], + "scope-enum": [2, "always", ["commitlint", ".github", "pr-check", "trunk"]], "subject-case": [1, "always", "sentence-case"], "subject-empty": [2, "never"], "subject-full-stop": [2, "never", "."], @@ -21,19 +16,7 @@ module.exports = { "type-enum": [ 2, "always", - [ - "build", - "chore", - "ci", - "docs", - "feat", - "fix", - "perf", - "refactor", - "revert", - "style", - "test", - ], - ], - }, -}; + ["chore", "ci", "docs", "feat", "fix", "refactor"] + ] + } +} diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index c10e6b0..469e927 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -2,27 +2,27 @@ # To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml version: 0.1 cli: - version: 1.22.4 + version: 1.22.10 # Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins) plugins: sources: - id: trunk - ref: v1.6.2 + ref: v1.6.7 uri: https://github.com/trunk-io/plugins # Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) runtimes: enabled: - - node@18.12.1 + - node@18.20.5 - python@3.10.8 # This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) lint: enabled: - - actionlint@1.7.1 - - checkov@3.2.243 + - actionlint@1.7.7 + - checkov@3.2.379 - git-diff-check - - markdownlint@0.41.0 - - prettier@3.3.3 - - trufflehog@3.81.10 + - markdownlint@0.44.0 + - prettier@3.5.3 + - trufflehog@3.88.14 - yamllint@1.35.1 actions: enabled: