chore(biome): prevent console logs in production, fix lints

This commit is contained in:
uncenter 2025-03-05 09:39:05 -05:00
parent b35b9fb59f
commit 165641a2b0
3 changed files with 2 additions and 3 deletions

View File

@ -37,7 +37,8 @@
"useForOf": "error"
},
"suspicious": {
"useAwait": "error"
"useAwait": "error",
"noConsole": "error"
},
"complexity": {
"useSimplifiedLogicExpression": "error"

View File

@ -132,7 +132,6 @@ export async function replaceIconInRow(
const isDirectory = selectors.isDirectory(rowEl, fileNameEl, iconEl);
const isSubmodule = selectors.isSubmodule(rowEl, fileNameEl, iconEl);
const isCollapsable = selectors.isCollapsable(rowEl, fileNameEl, iconEl);
console.log({ isCollapsable });
const iconName = await findIconMatch(
fileName,

View File

@ -2,7 +2,6 @@ import { defineConfig } from 'wxt';
import { join } from 'node:path';
import { hfs } from '@humanfs/node';
import { optimize } from 'svgo';
import jiti from 'jiti';