29 lines
690 B
JavaScript
29 lines
690 B
JavaScript
import { defineConfig } from '@soybeanjs/eslint-config';
|
|
|
|
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-/']
|
|
}
|
|
],
|
|
'vue/no-duplicate-attr-inheritance': 'off',
|
|
'unocss/order-attributify': 'off',
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
'consistent-return': 'off',
|
|
'no-alert': 'off'
|
|
}
|
|
}
|
|
);
|