basic2/eslint.config.js
2023-10-29 23:17:31 +08:00

28 lines
473 B
JavaScript

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'],
}],
},
},
)