Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const globalIgnores = [
];

export const typescriptRules = {
'@typescript-eslint/no-base-to-string': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'@typescript-eslint/no-redundant-type-constituents': 'off',
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
Expand Down
1 change: 1 addition & 0 deletions packages/uhk-agent/src/services/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export class AppService extends MainServiceBase {
logService.misc(`[AppService] get-config: ${key}`);

const config = await settings.get(key);
// eslint-disable-next-line @typescript-eslint/no-base-to-string
logService.misc(`[AppService] get-config of "${key}": ${config}`);

return config;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export class Keymap {
console.warn(error);
} else {
const error = `${this.name}.layers[${currentLayerId}]modules[${moduleId}].keyActions[${keyActionId}]` +
// eslint-disable-next-line @typescript-eslint/no-base-to-string
` is not switch layer. ${currentKeyAction} will be override with ${baseKeyAction}`;
console.warn(error);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ export class MacroListComponent implements AfterViewChecked, OnDestroy {

macroActionTrackByFn(index: number, macroAction: MacroAction): string {
if (this.isMacroReordering) {
// eslint-disable-next-line @typescript-eslint/no-base-to-string
return index.toString() + macroAction.toString();
}

Expand Down
Loading