From ea7a6e21290eb451d4f006af7325175d75ac18ec Mon Sep 17 00:00:00 2001 From: NFish Date: Tue, 18 Feb 2025 10:45:32 +0800 Subject: [PATCH] fix: update tailwindcss eslint config --- web/eslint.config.mjs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/web/eslint.config.mjs b/web/eslint.config.mjs index e60e50aa1a..17d5f17628 100644 --- a/web/eslint.config.mjs +++ b/web/eslint.config.mjs @@ -189,16 +189,12 @@ export default combine( }, }, rules: { + 'tailwindcss/classnames-order': 'warn', // due to 1k lines of tailwind config, these rule have performance issue 'tailwindcss/no-contradicting-classname': 'off', 'tailwindcss/enforces-shorthand': 'off', 'tailwindcss/no-custom-classname': 'off', 'tailwindcss/no-unnecessary-arbitrary-value': 'off', - - 'tailwindcss/classnames-order': 'warn', - 'tailwindcss/enforces-negative-arbitrary-values': 'warn', - 'tailwindcss/no-arbitrary-value': 'warn', - 'tailwindcss/migration-from-tailwind-2': 'warn', }, }, )