Files
workspace/code/base-project/base-uniapp2/eslint.config.js
T
2025-09-29 17:33:48 +08:00

22 lines
313 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 不报错
},
})