1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| 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-/']
| }
| ],
| 'unocss/order-attributify': 'off'
| }
| }
| );
|
|