Skip to content

Commit c1ca6ee

Browse files
committed
build(deps): update dependency @softwareventures/eslint-config to v9.2.0
1 parent c005f49 commit c1ca6ee

File tree

3 files changed

+147
-98
lines changed

3 files changed

+147
-98
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@
4545
"@commitlint/cli": "19.8.1",
4646
"@commitlint/config-conventional": "19.8.1",
4747
"@commitlint/cz-commitlint": "19.8.1",
48-
"@softwareventures/eslint-config": "7.9.0",
48+
"@softwareventures/eslint-config": "9.2.0",
4949
"@softwareventures/precise-commits": "4.0.19",
5050
"@softwareventures/prettier-config": "4.0.0",
5151
"@softwareventures/semantic-release-config": "5.1.0",
5252
"@softwareventures/tsconfig": "7.3.0",
5353
"@types/glob": "8.1.0",
5454
"@types/jest": "29.5.14",
5555
"@types/node": "16.18.126",
56-
"@typescript-eslint/eslint-plugin": "7.18.0",
57-
"@typescript-eslint/parser": "7.18.0",
56+
"@typescript-eslint/eslint-plugin": "8.35.0",
57+
"@typescript-eslint/parser": "8.35.0",
5858
"commitizen": "4.3.1",
5959
"conventional-changelog-conventionalcommits": "7.0.2",
6060
"cz-conventional-changelog": "3.3.0",

src/cli.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ if (hasProperty(config, "base") || hasProperty(config, "head")) {
4949
}
5050

5151
if (hasProperty(config, "head") && config.head != null) {
52+
// FIXME: Tech debt
53+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
5254
head = String(config.head);
5355
} else {
5456
/**
@@ -57,12 +59,16 @@ if (hasProperty(config, "base") || hasProperty(config, "head")) {
5759
head = "HEAD";
5860
}
5961

62+
// FIXME: Tech debt
63+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
6064
base = String(config.base);
6165
}
6266

6367
const checkOnly = hasProperty(config, "check-only") ? Boolean(config["check-only"]) : false;
6468
const formatter = hasProperty(config, "formatter")
65-
? String(config.formatter ?? "prettier")
69+
? // FIXME: Tech debt
70+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
71+
String(config.formatter ?? "prettier")
6672
: "prettier";
6773

6874
const options = {

0 commit comments

Comments
 (0)