chore: update ts-uno-eslint configuration

This commit is contained in:
radishzzz 2025-01-13 04:23:37 +00:00
parent 9d2be2a82e
commit 2e5a6d7f1f
8 changed files with 122 additions and 56 deletions

View file

@ -1,15 +1,7 @@
import antfu from '@antfu/eslint-config'
export default antfu(
{
unocss: true,
typescript: true,
astro: true,
rules: {
'style/max-len': 'off',
'no-console': 'warn',
'unocss/order': 'error',
'unocss/order-attributify': 'error',
},
},
)
export default antfu({
unocss: true,
typescript: true,
astro: true,
})