chore(projects): use eslint flat config & update config

This commit is contained in:
Soybean
2023-12-14 20:59:07 +08:00
parent 3346bcdfad
commit a176dc443e
16 changed files with 890 additions and 1956 deletions

15
eslint.config.js Normal file
View 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]']
}
]
}
}
);