chore(projects)!: integrate oxlint and oxfmt

This commit is contained in:
soybeanfe
2026-03-09 12:04:44 +08:00
parent b867c2908f
commit 6ff74c0c9d
6 changed files with 488 additions and 56 deletions

View File

@@ -1,24 +1,3 @@
import { defineConfig } from '@soybeanjs/eslint-config';
import { defineConfig } from '@soybeanjs/eslint-config-vue';
export default defineConfig(
{ vue: true, unocss: true },
{
rules: {
'vue/multi-word-component-names': [
'warn',
{
ignores: ['index', 'App', 'Register', '[id]', '[url]']
}
],
'vue/component-name-in-template-casing': [
'warn',
'PascalCase',
{
registeredComponentsOnly: false,
ignores: ['/^icon-/']
}
],
'unocss/order-attributify': 'off'
}
}
);
export default defineConfig();