fix eslint errors

This commit is contained in:
xCyanGrizzly
2026-02-18 15:27:23 +01:00
parent 3a5726e82b
commit 564f81585b
8 changed files with 14 additions and 9 deletions

View File

@@ -161,9 +161,7 @@ function parseMarkdownTable(markdown: string, brandFile: string): PaintEntry[] {
const nameIdx = 0;
const codeIdx = hasCode ? 1 : -1;
const setIdx = hasCode ? 2 : 1;
const rIdx = hasCode ? 3 : 2;
const gIdx = hasCode ? 4 : 3;
const bIdx = hasCode ? 5 : 4;
// RGB column indices (3-5 or 2-4) skipped — we use hex directly
const hexIdx = hasCode ? 6 : 5;
const entries: PaintEntry[] = [];