From 274ec7133b0cd1997b7d12536e17a2aea6612302 Mon Sep 17 00:00:00 2001 From: Praveen Shinde <107350270+PraveenShinde3@users.noreply.github.com> Date: Sun, 24 Dec 2023 06:51:31 +0530 Subject: [PATCH] feat: Updated source.fixAll.eslint to explicit (#1110) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## PR Checklist - [x] Addresses an existing open issue: fixes #1105 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Updated source.fixAll.eslint to "explicit" ![image](https://github.com/JoshuaKGoldberg/create-typescript-app/assets/107350270/08c05bfa-33db-4014-b32e-486c8a97fed8) --------- Co-authored-by: Josh Goldberg ✨ --- .vscode/settings.json | 2 +- src/steps/writing/creation/dotVSCode.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e700d4d40..b8153ef35 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { - "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, + "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" }, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, "editor.rulers": [80], diff --git a/src/steps/writing/creation/dotVSCode.ts b/src/steps/writing/creation/dotVSCode.ts index f63eb8931..6f0c46fd5 100644 --- a/src/steps/writing/creation/dotVSCode.ts +++ b/src/steps/writing/creation/dotVSCode.ts @@ -32,7 +32,7 @@ export async function createDotVSCode(options: Options) { }), "settings.json": await formatJson({ "editor.codeActionsOnSave": { - "source.fixAll.eslint": true, + "source.fixAll.eslint": "explicit", }, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true,