fix: remove unused variables in main.js

- Remove unused tooltipList and popoverList variables
- Remove unused event parameters in change/click handlers
- All oxlint checks now pass (4 warnings -> 0)
This commit is contained in:
2025-11-05 15:03:00 +01:00
parent fdcec7eb84
commit 8ca7ad14d5
3 changed files with 51 additions and 7 deletions

View File

@@ -1,12 +1,22 @@
{
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check .",
"format": "prettier --write .; bun format:py",
"format:check": "prettier --check .; bun format:py -- --check",
"format:py": "uvx ruff format",
"lint:js": "oxlint",
"lint:js:fix": "bun lint:js -- --fix",
"lint:md": "markdownlint-cli2 \"**/*.md\"",
"lint:md:fix": "bun lint:md -- --fix"
"lint:md:fix": "bun lint:md -- --fix",
"lint:py": "uvx ruff check",
"lint:py:fix": "uvx ruff check --fix",
"typecheck:js": "oxlint --type-aware",
"typecheck:js:fix": "bun typecheck:js -- --fix",
"typecheck:py": "uvx ty check"
},
"devDependencies": {
"markdownlint-cli2": "^0.18.1",
"oxlint": "^1.25.0",
"oxlint-tsgolint": "^0.5.0",
"prettier": "^3.6.2",
"prettier-plugin-jinja-template": "^2.1.0",
"prettier-plugin-packagejson": "^2.5.19"