fix: update tailwindcss eslint config

pull/13892/head
NFish 1 year ago
parent cd3d1a8d33
commit ea7a6e2129

@ -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',
},
},
)

Loading…
Cancel
Save