From 9c1011fbd807b96576ab74250d61b5d55038ca6b Mon Sep 17 00:00:00 2001 From: niu_he Date: Tue, 13 Jan 2026 16:40:32 +0800 Subject: [PATCH] Add JSX as a global variable in ESLint config --- .eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 79ff768d..20dcd087 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -9,7 +9,8 @@ module.exports = { }, globals: { Global: 'readonly', - React: 'readonly' + React: 'readonly', + JSX: 'readonly' }, ignorePatterns: ['public/static/', 'public/vs/**'] };