mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2026-04-26 03:54:26 +08:00
chore(projects)!: integrate oxlint and oxfmt
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user