From be9591f3286874af907550d8fbd15965222a4e23 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Tue, 21 Oct 2025 17:26:51 +0800 Subject: [PATCH] fix(eslint): disable prefer-optional-chain rule --- eslint.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/eslint.config.js b/eslint.config.js index 460c5c1..10c12a7 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -66,6 +66,7 @@ export default defineConfig([ '@typescript-eslint/restrict-plus-operands': 'off', 'react-dom/no-missing-button-type': 'off', 'react-x/no-nested-component-definitions': 'off', + '@typescript-eslint/prefer-optional-chain': 'off', }, }, ])