vue3-vant-mobile/eslint.config.ts

31 lines
485 B
TypeScript
Raw Permalink Normal View History

2023-12-22 16:15:34 +00:00
import antfu from '@antfu/eslint-config'
2024-09-20 10:45:04 +00:00
export default antfu(
{
vue: true,
typescript: true,
2024-09-20 10:45:04 +00:00
// enable UnoCSS support
// https://unocss.dev/integrations/vscode
unocss: true,
formatters: {
css: true,
},
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/**',
],
},
)