Repository navigation
Releases
Releases · jonataswalker/oxlint-config-jwalker
Release 0.3.0
Release 0.2.1
v0.2.0
Dependencies
| Package | From | To |
|---|---|---|
oxlint |
1.77.0 | 1.80.0 |
typescript |
6.0.3 | 7.0.2 |
@types/node |
26.1.2 | 26.3.0 |
TypeScript 7 is the native Go port, so the generated declarations change shape. Verified consumable under TS 5.9, 6.0 and 7.0 with skipLibCheck: false.
Breaking
oxlint-tsgolintpeer floor raised>=7.0.0→>=7.0.2001, matching what oxlint 1.80 itself requires.- Lint output changes:
no-implied-eval,no-throw-literalandrequire-awaitare nowoffon.ts/.tsx, where theirtypescript/*replacements already ran — they were double-reporting. unicorn/no-negated-conditiondropped; it duplicated the core rule exactly, same diagnostics and same autofix.**/auto-import.d.tsand**/auto-imports.d.tsare now genuinely ignored, so files that were previously linted by accident no longer are.
Fixes
no-restricted-globalswas silently clobbered. Rules merge withObject.assign, so thenodefragment replaced thebaseone wholesale and theglobal/selfrestrictions vanished under the defaultnode: true.basenow exportsRESTRICTED_GLOBALSandnodespreads it.'**/auto-import?(s).d.ts'never matched anything — oxlint does not parse extglobs. Replaced with two explicit patterns; a{,s}brace alternative is not a fix either, as it silently misses the singular form.- Dropped
'no-shadow': 'error'from the TS override (oxlint has notypescript/no-shadow; the line only discarded the base rule's options) andunicorn/prefer-node-protocolfrom thenodefragment (duplicated frombase, which is the fragment that declares theunicornplugin).
Docs
README now states that the default typeAware: true requires oxlint-tsgolint installed, and records the measured cost of type-aware linting — the JavaScript override suppresses type-aware diagnostics, not the work, so JS-only repos should compose with typeAware: false.
Tests
14 → 18. Each new test was confirmed to fail against the pre-fix config. The extglob test now covers GLOB_EXCLUDE and GLOB_TESTS, not just the GLOBS string constants — that gap is why the dead ignore pattern shipped past a test written for exactly it.