mirror of
https://github.com/bytedream/stream-bypass.git
synced 2026-08-04 21:10:40 +02:00
add no-console rule and remove console.log calls
Co-authored-by: Mistral AI <mistral@mistral.ai>
This commit is contained in:
+2
-1
@@ -25,7 +25,8 @@ export default defineConfig(
|
||||
{
|
||||
rules: {
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'no-undef': 'off'
|
||||
'no-undef': 'off',
|
||||
'no-console': 'error'
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user