Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 18, 2024
1 parent 303f97d commit e4a012e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
export {}

/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
ActionsMenu: typeof import('./components/ActionsMenu.vue')['default']
Expand Down
2 changes: 1 addition & 1 deletion src/components/IconDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async function copyText(text?: string) {
await navigator.clipboard.writeText(text)
return true
}
catch (err) {
catch {
}
}
return false
Expand Down
2 changes: 1 addition & 1 deletion src/components/IconSet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async function copyText(text?: string) {
await navigator.clipboard.writeText(text)
return true
}
catch (err) {
catch {
}
}
return false
Expand Down
2 changes: 1 addition & 1 deletion src/utils/prettier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export async function prettierCode(code: string, parser: BuiltInParserName) {
singleQuote: true,
})
}
catch (e) {
catch {
return code
}
}

0 comments on commit e4a012e

Please sign in to comment.