mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-13 13:23:42 +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