mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 11:12:54 +02:00
chore: update ts-uno-eslint configuration
This commit is contained in:
parent
9d2be2a82e
commit
2e5a6d7f1f
8 changed files with 122 additions and 56 deletions
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue