2023-12-22 16:15:34 +00:00
|
|
|
import antfu from '@antfu/eslint-config'
|
2023-10-23 14:03:29 +00:00
|
|
|
|
2024-09-20 10:45:04 +00:00
|
|
|
export default antfu(
|
|
|
|
|
{
|
|
|
|
|
vue: true,
|
|
|
|
|
typescript: true,
|
2024-03-18 08:38:59 +00:00
|
|
|
|
2024-09-20 10:45:04 +00:00
|
|
|
// enable UnoCSS support
|
|
|
|
|
// https://unocss.dev/integrations/vscode
|
|
|
|
|
unocss: true,
|
|
|
|
|
|
|
|
|
|
formatters: {
|
|
|
|
|
css: true,
|
|
|
|
|
},
|
2024-06-06 02:53:20 +00:00
|
|
|
|
2024-09-20 10:45:04 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
rules: {
|
|
|
|
|
'perfectionist/sort-imports': 'off',
|
|
|
|
|
'perfectionist/sort-exports': 'off',
|
|
|
|
|
'perfectionist/sort-named-exports': 'off',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
ignores: [
|
|
|
|
|
'.github/**',
|
|
|
|
|
'scripts/**',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
)
|