Skip to content

Commit 7848d8e

Browse files
committed
chore(config): reduce commitlint and renovate details
It's easier to just rely on the `type-enum` and change the scope in the title of PRs from myself or others than to deal with it as a hard error requirement. This also means we'll go back to `chore(deps)` but I'm fine with that. We don't want those to show up in our changelog once we start using `git-cliff` anyhow. Signed-off-by: Izzy Muerte <63051+bruxisma@users.noreply.github.com>
1 parent f283097 commit 7848d8e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/renovate.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"extends": [
33
"config:recommended",
44
"npm:unpublishSafe",
5-
":gitSignOff",
6-
":semanticCommitScope(package)"
5+
":gitSignOff"
76
],
87
"schedule": ["after 12pm on sunday"],
98
"labels": ["renovate:dependencies"],

commitlint.config.js

-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
import { RuleConfigSeverity } from "@commitlint/types";
22

3-
const scopes = [`actions`, `cmake`, `docs`, `package`, `tool`];
4-
53
export default {
64
extends: ["@commitlint/config-conventional"],
75
defaultIgnores: true,
86
rules: {
97
"subject-case": [RuleConfigSeverity.Error, `always`, [`lower-case`]],
108
"scope-case": [RuleConfigSeverity.Error, `always`, [`kebab-case`]],
11-
"scope-enum": [RuleConfigSeverity.Error, `always`, scopes],
129
},
1310
};

0 commit comments

Comments
 (0)