2024-03-08 17:59:45 +08:00
|
|
|
import { defineConfig } from '@soybeanjs/eslint-config';
|
|
|
|
|
|
|
|
export default defineConfig(
|
2024-03-21 10:57:53 +08:00
|
|
|
{ vue: true, unocss: true },
|
2024-03-08 17:59:45 +08:00
|
|
|
{
|
|
|
|
rules: {
|
|
|
|
'vue/multi-word-component-names': [
|
|
|
|
'warn',
|
|
|
|
{
|
|
|
|
ignores: ['index', 'App', '[id]']
|
|
|
|
}
|
2024-03-21 10:57:53 +08:00
|
|
|
],
|
|
|
|
'vue/component-name-in-template-casing': [
|
|
|
|
'warn',
|
|
|
|
'PascalCase',
|
|
|
|
{
|
|
|
|
registeredComponentsOnly: false,
|
|
|
|
ignores: ['/^icon-/']
|
|
|
|
}
|
2024-03-08 17:59:45 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|