// eslint.config.mjs import antfu from '@antfu/eslint-config' export default antfu({ vue: true, stylistic: { indent: 2, quotes: 'single', }, formatters: { css: true, html: true, markdown: 'prettier', }, rules: { 'no-console': 'off', // 允许 console.log 不报错 "prefer-promise-reject-errors": "off" }, })