From 7e021a94083a7bcc9dc7bab0e038e57534028ba8 Mon Sep 17 00:00:00 2001 From: Abdo Date: Thu, 14 Aug 2025 07:59:48 +0300 Subject: [PATCH] Disable prefer-const for Svelte for now https://github.com/sveltejs/eslint-plugin-svelte/issues/818#issuecomment-2570986849 --- .eslintrc.cjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 2c5502f64..52e708c6b 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -46,6 +46,9 @@ module.exports = { "svelte/no-at-html-tags": "off", "svelte/valid-compile": ["error", { "ignoreWarnings": true }], "@typescript-eslint/no-explicit-any": "off", + "prefer-const": "off", + // TODO: enable this when we update to eslint-plugin-svelte 3 + // "svelte/prefer-const": "warn", }, }, ],