basic2/eslint.config.js

28 lines
473 B
JavaScript
Raw Normal View History

2023-10-29 23:00:06 +08:00
import antfu from '@antfu/eslint-config'
export default antfu(
{
ignores: [
'public',
'dist*',
],
},
{
rules: {
'eslint-comments/no-unlimited-disable': 'off',
'curly': ['error', 'all'],
'antfu/consistent-list-newline': 'off',
},
},
{
files: [
'src/**/*.vue',
],
rules: {
'vue/component-tags-order': ['error', {
order: ['route', 'script', 'template', 'style'],
}],
},
},
)