chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.

This commit is contained in:
cpojer
2026-01-31 16:03:28 +09:00
parent 481f696a87
commit 15792b153f
292 changed files with 643 additions and 699 deletions

View File

@@ -12,8 +12,8 @@ type QRCodeConstructor = new (
isDark: (row: number, col: number) => boolean;
};
const QRCode = QRCodeModule as unknown as QRCodeConstructor;
const QRErrorCorrectLevel = QRErrorCorrectLevelModule as Record<string, unknown>;
const QRCode = QRCodeModule as QRCodeConstructor;
const QRErrorCorrectLevel = QRErrorCorrectLevelModule;
function createQrMatrix(input: string) {
const qr = new QRCode(-1, QRErrorCorrectLevel.L);