Skip to content

Commit 375af7d

Browse files
committed
lint fix
1 parent 192c616 commit 375af7d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

eslint.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ export default ts.config(
1515
},
1616
rules: {
1717
'vue/multi-word-component-names': 'off',
18-
'no-undef': 'off',
18+
'no-undef': 'off'
19+
}
20+
},
21+
{
22+
rules: {
1923
'@typescript-eslint/no-explicit-any': 'off'
2024
}
2125
}

src/composables/useHighlighter.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ import { createHighlighter } from 'shiki'
22
import type { HighlighterGeneric } from 'shiki'
33
import { createJavaScriptRegexEngine } from 'shiki/engine-javascript.mjs'
44

5-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
65
let highlighter: HighlighterGeneric<any, any> | null = null
7-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
86
let promise: Promise<HighlighterGeneric<any, any>> | null = null
97

108
export const useHighlighter = async () => {

0 commit comments

Comments
 (0)