mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-05 13:37:45 +08:00
29 lines
482 B
JavaScript
29 lines
482 B
JavaScript
import antfu from '@antfu/eslint-config'
|
|
|
|
export default antfu(
|
|
{
|
|
unocss: true,
|
|
ignores: [
|
|
'public',
|
|
'dist*',
|
|
],
|
|
},
|
|
{
|
|
rules: {
|
|
'eslint-comments/no-unlimited-disable': 'off',
|
|
'curly': ['error', 'all'],
|
|
'antfu/consistent-list-newline': 'off',
|
|
},
|
|
},
|
|
{
|
|
files: [
|
|
'src/**/*.vue',
|
|
],
|
|
rules: {
|
|
'vue/block-order': ['error', {
|
|
order: ['route', 'script', 'template', 'style'],
|
|
}],
|
|
},
|
|
},
|
|
)
|