Skip to content

Commit ca148dd

Browse files
fix: change let to const for config variable
- Fixes ESLint prefer-const error on line 21 of main.ts - Variable ''config'' is never reassigned so should use const - Resolves CI lint step failure Co-authored-by: jason <[email protected]>
1 parent cbc31fc commit ca148dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface WidgetConfig {
1818
position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
1919
}
2020

21-
let config: WidgetConfig = {
21+
const config: WidgetConfig = {
2222
alwaysOnTop: true,
2323
opacity: 0.95,
2424
refreshInterval: 60000, // 1 minute

0 commit comments

Comments
 (0)