Skip to content

Commit

Permalink
Fix: Update ESLint configuration for Vue 2 and adjust SideBar compone…
Browse files Browse the repository at this point in the history
…nt structure

Fix: Scroll error in mobile view.
  • Loading branch information
jerrykuku committed Dec 18, 2024
1 parent e36ea47 commit cd1f5ed
Show file tree
Hide file tree
Showing 7 changed files with 4,268 additions and 4,131 deletions.
15 changes: 13 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,19 @@ export default antfu(
{
// Configures for antfu's config
typescript: false,
vue: true,
vue: {
vueVersion: 2
},
unocss: false,
markdown: true,
},
)
{
// Configures for eslint
name: 'vue2-apps',
rules: {
'vue/v-on-event-hyphenation': 'off',
'vue/require-explicit-emits': 'off',
"vue/no-deprecated-v-on-native-modifier": 'off',
},
},
)
Loading

0 comments on commit cd1f5ed

Please sign in to comment.