lint: Enable oxc for JS/TS and add strict lint

Configure oxc LSP initialization options: run set to "onType", typeAware
enabled, unusedDisableDirectives set to "allow", and
configPath/tsConfigPath left null.
This commit is contained in:
2025-11-05 15:17:57 +01:00
parent e67dd629d9
commit b70535a2a8
2 changed files with 29 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
"format:py": "uvx ruff format",
"lint:js": "oxlint",
"lint:js:fix": "bun lint:js -- --fix",
"lint:js:strict": "oxlint --import-plugin -D correctness -W suspicious",
"lint:md": "markdownlint-cli2 \"**/*.md\"",
"lint:md:fix": "bun lint:md -- --fix",
"lint:py": "uvx ruff check",