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',
|
|
|
|
{
|
2024-06-07 11:24:30 +08:00
|
|
|
ignores: ['index', 'App', 'Register', '[id]', '[url]']
|
2024-03-08 17:59:45 +08:00
|
|
|
}
|
2024-03-21 10:57:53 +08:00
|
|
|
],
|
|
|
|
'vue/component-name-in-template-casing': [
|
|
|
|
'warn',
|
|
|
|
'PascalCase',
|
|
|
|
{
|
|
|
|
registeredComponentsOnly: false,
|
|
|
|
ignores: ['/^icon-/']
|
|
|
|
}
|
2024-04-10 11:25:25 +08:00
|
|
|
],
|
2024-04-25 10:16:17 +08:00
|
|
|
'unocss/order-attributify': 'off'
|
2024-03-08 17:59:45 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|