chore: migrate to ESlint v9

This commit is contained in:
Hintay 2024-10-24 01:30:13 +09:00
parent 8c00292fa1
commit 4f25a0c670
No known key found for this signature in database
GPG key ID: 120FC7FF121F2F2D
142 changed files with 4387 additions and 2052 deletions

View file

@ -1,8 +1,8 @@
<script setup lang="ts">
import dayjs from 'dayjs'
import { useSettingsStore } from '@/pinia'
import gettext from '@/gettext'
import loadTranslations from '@/api/translations'
import gettext from '@/gettext'
import { useSettingsStore } from '@/pinia'
import dayjs from 'dayjs'
import 'dayjs/locale/fr'
import 'dayjs/locale/ja'
@ -29,7 +29,7 @@ const current = computed({
const languageAvailable = gettext.available
const updateTitle = () => {
function updateTitle() {
const name = route.meta.name as never as () => string
document.title = `${name()} | Nginx UI`