basic2/eslint.config.js

28 lines
464 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: {
2023-11-21 17:05:12 +08:00
'vue/block-order': ['error', {
2023-10-29 23:00:06 +08:00
order: ['route', 'script', 'template', 'style'],
}],
},
},
)