Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Oct 2, 2023
1 parent 961048e commit e83703c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .eslintrc.cjs
Expand Up @@ -11,7 +11,7 @@ module.exports = {
'plugin:@intlify/vue-i18n/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/eslint-recommended',
'prettier',
'prettier'
],
plugins: ['@typescript-eslint'],
parser: 'vue-eslint-parser',
Expand All @@ -34,10 +34,13 @@ module.exports = {
'vue/experimental-script-setup-vars': 'off',
'vue/no-deprecated-props-default-this': 'off',
'vue/require-v-for-key': 'off',
'vue/html-self-closing': ['error', {
html: {
void: 'always'
'vue/html-self-closing': [
'error',
{
html: {
void: 'always'
}
}
}]
]
}
}
2 changes: 2 additions & 0 deletions .vitepress/theme/Navigation.vue
@@ -1,4 +1,5 @@
<script setup lang="ts">
/* eslint-disable @typescript-eslint/no-unused-vars */
import { computed } from 'vue'
import { useRouter, useData, withBase } from 'vitepress'
Expand Down Expand Up @@ -33,6 +34,7 @@ const siteNav = computed(() => {
// DISABLE: const target = e.target as HTMLInputElement
// DISABLE: router.go(target.value === 'en' ? '/' : `/${target.value}/`)
// DISABLE: }
/* eslint-enable @typescript-eslint/no-unused-vars */
</script>

<template>
Expand Down
3 changes: 3 additions & 0 deletions .vitepress/theme/index.ts
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import './tailwind.css'
import './style.css'
import Layout from './Layout.vue'
Expand Down Expand Up @@ -46,3 +47,5 @@ export default {
*/
}
} satisfies Theme

/* eslint-enable @typescript-eslint/no-unused-vars */

0 comments on commit e83703c

Please sign in to comment.