chore(deps): update lint (#1928)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
This commit is contained in:
renovate[bot] 2023-03-30 19:01:24 +00:00 committed by GitHub
parent 2838e18ff7
commit 3c43a1cdd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
62 changed files with 464 additions and 434 deletions

View file

@ -42,7 +42,7 @@ const outdatedEntries = computed<string[]>(() => {
return localesStatuses[locale.value]!.outdated
})
const showDetail = (key: string, tab: Tab = 'missing', fromTab = false) => {
function showDetail(key: string, tab: Tab = 'missing', fromTab = false) {
if (key === locale.value && tab === localeTab.value) {
if (fromTab)
return
@ -57,7 +57,7 @@ const showDetail = (key: string, tab: Tab = 'missing', fromTab = false) => {
nextTick().then(() => hidden.value = false)
}
const copyToClipboard = async () => {
async function copyToClipboard() {
try {
await navigator.clipboard.writeText([
`# ${localeTitle.value}`,