Skip to content

Commit cd1f5ed

Browse files
committed
Fix: Update ESLint configuration for Vue 2 and adjust SideBar component structure
Fix: Scroll error in mobile view.
1 parent e36ea47 commit cd1f5ed

File tree

7 files changed

+4268
-4131
lines changed

7 files changed

+4268
-4131
lines changed

eslint.config.mjs

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,19 @@ export default antfu(
55
{
66
// Configures for antfu's config
77
typescript: false,
8-
vue: true,
8+
vue: {
9+
vueVersion: 2
10+
},
911
unocss: false,
1012
markdown: true,
1113
},
12-
)
14+
{
15+
// Configures for eslint
16+
name: 'vue2-apps',
17+
rules: {
18+
'vue/v-on-event-hyphenation': 'off',
19+
'vue/require-explicit-emits': 'off',
20+
"vue/no-deprecated-v-on-native-modifier": 'off',
21+
},
22+
},
23+
)

0 commit comments

Comments
 (0)