import antfu from '@antfu/eslint-config'

export default antfu({
  ignores: [
    'src/__generated__',
    'scripts',
  ],
  vue: {
    vueVersion: 3,
    sfcBlocks: false,
  },
  typescript: true,
  formatters: {
    css: true,
  },
  overrides: {
    vue: {
      'vue/block-order': ['error', {
        order: ['template', 'script', 'style'],
      }],
    },
  },
})
