mirror of
https://github.com/ItsVipra/ProToots
synced 2025-02-16 20:48:23 +00:00
Disable console.log statements except for logging.js
This commit is contained in:
parent
fcd5eacf06
commit
5757905f08
2 changed files with 4 additions and 0 deletions
|
@ -11,3 +11,5 @@ parserOptions:
|
||||||
ecmaVersion: latest
|
ecmaVersion: latest
|
||||||
sourceType: "module"
|
sourceType: "module"
|
||||||
|
|
||||||
|
rules:
|
||||||
|
no-console: error
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint-disable no-console -- Logging should only be done with this module. */
|
||||||
|
|
||||||
export async function getLogging() {
|
export async function getLogging() {
|
||||||
try {
|
try {
|
||||||
let { logging: optionValue } = await storage.sync.get("logging");
|
let { logging: optionValue } = await storage.sync.get("logging");
|
||||||
|
|
Loading…
Add table
Reference in a new issue