From 0b19718458496250f2892ee68fb16318d013d744 Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Thu, 15 Jun 2023 11:13:54 +0900 Subject: [PATCH] Fix eqeqeq warning (#202) Saw this in #201 image --- .eslintrc.json | 2 +- src/extension.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 49bd78c..c060a67 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -11,7 +11,7 @@ "@typescript-eslint/naming-convention": "warn", "@typescript-eslint/semi": "warn", "curly": "warn", - "eqeqeq": "warn", + "eqeqeq": ["warn", "smart"], "no-throw-literal": "warn", "semi": "off" }, diff --git a/src/extension.ts b/src/extension.ts index f7a34d8..9c5aa20 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -46,7 +46,7 @@ export async function activate(context: vscode.ExtensionContext): Promise try { await clientPromise; } catch { - // We don't care whether this failed, we'll restart afterwards again anyway + // We don't care whether this failed, we'll restart afterward anyway. } } else { // In this case, we're currently restarting and a new restart is also queued, so we just do nothing and