Skip to content

Commit 15cab3e

Browse files
fix: disable ESLint no-unused-vars for Window interface declaration
- Adds eslint-disable-next-line comment for Window interface in renderer.ts - Window interface extends global Window with ccusageAPI property (Electron pattern) - Fixes ESLint error causing CI lint step to fail Co-authored-by: jason <[email protected]>
1 parent ca148dd commit 15cab3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/renderer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
12
interface Window {
23
ccusageAPI: {
34
getUsageData: () => Promise<{

0 commit comments

Comments
 (0)