add no-console rule and remove console.log calls

Co-authored-by: Mistral AI <mistral@mistral.ai>
This commit is contained in:
2026-06-25 18:21:24 +02:00
co-authored by Mistral AI
parent 85f4a3b776
commit 9639f148f9
2 changed files with 2 additions and 3 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ export default defineConfig(
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'no-undef': 'off'
'no-undef': 'off',
'no-console': 'error'
}
}
);
-2
View File
@@ -46,7 +46,6 @@ export class HostSettings {
temporaryHostDomains[domain] = host.id;
await this.temporaryHostDomain.setValue(temporaryHostDomains);
console.log(await this.temporaryHostDomain.getValue());
}
static async checkTemporaryHostDomain(domain: string) {
const temporaryHostDomains = await this.temporaryHostDomain.getValue();
@@ -63,7 +62,6 @@ export class FF2MPVSettings {
return await this.ff2mpvEnabled.getValue();
}
static async setEnabled(enabled: boolean) {
console.log('set', enabled);
await this.ff2mpvEnabled.setValue(enabled);
}
}