// eslint.config.js import antfu from '@antfu/eslint-config' export default antfu({ // Enable stylistic formatting rules // stylistic: true, // Or customize the stylistic rules stylistic: { indent: 2, // 4, or 'tab' quotes: 'single', // or 'double' }, unocss: true, // TypeScript and Vue are auto-detected, you can also explicitly enable them: typescript: true, vue: true, // Disable jsonc and yaml support jsonc: true, yaml: true, // `.eslintignore` is no longer supported in Flat config, use `ignores` instead ignores: [ './fixtures', // ...globs ], // Use external formatters to format files that ESLint cannot handle yet (.css, .html, etc). formatters: { /** * Format CSS, LESS, SCSS files, also the `