Skip to content

Commit 6e1de3c

Browse files
Nolin NaidooNolin Naidoo
authored andcommitted
Fix linting: suppress intentional any usage in localization
- Add biome-ignore comment for vscode-nls spread operator compatibility - All linting checks now pass successfully
1 parent d15028b commit 6e1de3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/localization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function createLocalizer(): Localizer {
1818
return Object.freeze({
1919
localize(key: string, ...args: readonly unknown[]): string {
2020
// TypeScript strict mode requires explicit cast for spread operator
21-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
21+
// biome-ignore lint/suspicious/noExplicitAny: vscode-nls requires any for spread args
2222
return (localize as any)(key, ...args);
2323
},
2424
});

0 commit comments

Comments
 (0)