From 72f83c010f6be2e22e26b62cec2b9ce9f589ba0c Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Fri, 5 Dec 2025 17:26:12 +0800 Subject: [PATCH] chore: detect rules from .oxlintrc.json (#29147) --- web/eslint.config.mjs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/web/eslint.config.mjs b/web/eslint.config.mjs index e9692ef3fb..197f7e3e1c 100644 --- a/web/eslint.config.mjs +++ b/web/eslint.config.mjs @@ -255,10 +255,5 @@ export default combine( 'tailwindcss/migration-from-tailwind-2': 'warn', }, }, - oxlint.configs['flat/recommended'], - { - rules: { - 'react-hooks/exhaustive-deps': 'warn', - }, - }, + ...oxlint.buildFromOxlintConfigFile('./.oxlintrc.json'), )