Files
workspace/code/base-project/base-uniapp-main/eslint.config.js
T
2025-10-10 16:46:03 +08:00

23 lines
355 B
JavaScript

// 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"
},
})