mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-02 03:57:37 +08:00
28 lines
473 B
JavaScript
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'],
|
|
}],
|
|
},
|
|
},
|
|
)
|