Fix TypeScript build errors

- Fixed unused variable warnings by prefixing with underscore
- Removed unused imports
- Removed test files from repository
This commit is contained in:
DaX
2025-06-18 23:18:21 +02:00
parent 7f20d342fc
commit f87512725b
6 changed files with 7 additions and 53 deletions

View File

@@ -72,11 +72,11 @@ function parseConfluenceTable(html: string): Filament[] {
const filaments: Filament[] = [];
// Find all tables and process each one
$('table').each((tableIndex, table) => {
$('table').each((_tableIndex, table) => {
let headers: string[] = [];
// Get headers
$(table).find('tr').first().find('th, td').each((i, cell) => {
$(table).find('tr').first().find('th, td').each((_i, cell) => {
headers.push($(cell).text().trim());
});
@@ -86,7 +86,7 @@ function parseConfluenceTable(html: string): Filament[] {
}
// Process rows
$(table).find('tr').slice(1).each((rowIndex, row) => {
$(table).find('tr').slice(1).each((_rowIndex, row) => {
const cells = $(row).find('td');
if (cells.length >= headers.length) {
const filament: any = {};