From 04e794079c0d627ab1bea43e0cd6e27e4a76266c Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Mon, 25 Nov 2024 02:36:00 -0500 Subject: [PATCH] fix: remove outdated vscode-eslint eslint.useFlatConfig setting --- .vscode/settings.json | 1 - src/steps/writing/creation/dotVSCode.test.ts | 4 ---- src/steps/writing/creation/dotVSCode.ts | 1 - 3 files changed, 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index a09020eaf..b8153ef35 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,6 +14,5 @@ "yaml" ], "eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }], - "eslint.useFlatConfig": true, "typescript.tsdk": "node_modules/typescript/lib" } diff --git a/src/steps/writing/creation/dotVSCode.test.ts b/src/steps/writing/creation/dotVSCode.test.ts index 767fa2fac..473233096 100644 --- a/src/steps/writing/creation/dotVSCode.test.ts +++ b/src/steps/writing/creation/dotVSCode.test.ts @@ -74,7 +74,6 @@ describe("createDotVSCode", () => { "yaml" ], "eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }], - "eslint.useFlatConfig": true, "typescript.tsdk": "node_modules/typescript/lib" } ", @@ -149,7 +148,6 @@ describe("createDotVSCode", () => { "yaml" ], "eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }], - "eslint.useFlatConfig": true, "typescript.tsdk": "node_modules/typescript/lib" } ", @@ -216,7 +214,6 @@ describe("createDotVSCode", () => { "yaml" ], "eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }], - "eslint.useFlatConfig": true, "typescript.tsdk": "node_modules/typescript/lib" } ", @@ -272,7 +269,6 @@ describe("createDotVSCode", () => { "yaml" ], "eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }], - "eslint.useFlatConfig": true, "typescript.tsdk": "node_modules/typescript/lib" } ", diff --git a/src/steps/writing/creation/dotVSCode.ts b/src/steps/writing/creation/dotVSCode.ts index 39a74fee1..6ed9f2ff2 100644 --- a/src/steps/writing/creation/dotVSCode.ts +++ b/src/steps/writing/creation/dotVSCode.ts @@ -68,7 +68,6 @@ export async function createDotVSCode(options: Options) { "yaml", ], "eslint.rules.customizations": [{ rule: "*", severity: "warn" }], - "eslint.useFlatConfig": true, "typescript.tsdk": "node_modules/typescript/lib", }), "tasks.json": await formatJson({