From 3d3952ecae93b07c24d7133cea1589b2ec897aa1 Mon Sep 17 00:00:00 2001 From: 1ncounter <1ncounter.100@gmail.com> Date: Tue, 9 Jul 2024 15:15:38 +0800 Subject: [PATCH] chore: eslint config fix --- eslint.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index c0ef37eef..98b568825 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -50,6 +50,8 @@ export default tseslint.config({ '@typescript-eslint/ban-ts-comment': ['error', { 'ts-expect-error': 'allow-with-description' }], '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/no-this-alias': 'off', + 'react/jsx-no-undef': 'error', 'react/jsx-uses-vars': 'error', 'react/jsx-no-duplicate-props': ['error', { ignoreCase: true }],