Disable console.log statements except for logging.js

This commit is contained in:
nachtjasmin 2023-06-18 19:11:36 +02:00 committed by Jasmin
parent fcd5eacf06
commit 5757905f08
2 changed files with 4 additions and 0 deletions

View file

@ -11,3 +11,5 @@ parserOptions:
ecmaVersion: latest
sourceType: "module"
rules:
no-console: error

View file

@ -1,3 +1,5 @@
/* eslint-disable no-console -- Logging should only be done with this module. */
export async function getLogging() {
try {
let { logging: optionValue } = await storage.sync.get("logging");