mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
chore(projects): use eslint flat config & update config
This commit is contained in:
15
eslint.config.js
Normal file
15
eslint.config.js
Normal file
@ -0,0 +1,15 @@
|
||||
import { defineConfig } from '@soybeanjs/eslint-config';
|
||||
|
||||
export default defineConfig(
|
||||
{ vue: true },
|
||||
{
|
||||
rules: {
|
||||
'vue/multi-word-component-names': [
|
||||
'warn',
|
||||
{
|
||||
ignores: ['index', 'App', '[id]']
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user