diff --git a/web/eslint.config.mjs b/web/eslint.config.mjs index 1238c382ed..e60e50aa1a 100644 --- a/web/eslint.config.mjs +++ b/web/eslint.config.mjs @@ -189,7 +189,16 @@ export default combine( }, }, rules: { - 'tailwindcss/no-custom-classname': 'error', + // 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', }, }, )