Commit Graph

6 Commits

Author SHA1 Message Date
renovate c27263ad61 chore(deps): update dependency oxlint-tsgolint to v0.17.0 (#20405)
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|---|---|
| [oxlint-tsgolint](https://redirect.github.com/oxc-project/tsgolint) | [`0.16.0` → `0.17.0`](https://renovatebot.com/diffs/npm/oxlint-tsgolint/0.16.0/0.17.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint-tsgolint/0.17.0?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint-tsgolint/0.17.0?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint-tsgolint/0.16.0/0.17.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint-tsgolint/0.16.0/0.17.0?slim=true) |

---

### Release Notes

<details>
<summary>oxc-project/tsgolint (oxlint-tsgolint)</summary>

### [`v0.17.0`](https://redirect.github.com/oxc-project/tsgolint/releases/tag/v0.17.0)

[Compare Source](https://redirect.github.com/oxc-project/tsgolint/compare/v0.16.0...v0.17.0)

#### What's Changed

- refactor: make E2E benchmark more realistic by [@&#8203;camchenry](https://redirect.github.com/camchenry) in [#&#8203;763](https://redirect.github.com/oxc-project/tsgolint/pull/763)
- docs: improve README positioning by [@&#8203;Boshen](https://redirect.github.com/Boshen) in [#&#8203;767](https://redirect.github.com/oxc-project/tsgolint/pull/767)
- Revise oxlint command examples in README by [@&#8203;connorshea](https://redirect.github.com/connorshea) in [#&#8203;768](https://redirect.github.com/oxc-project/tsgolint/pull/768)
- chore(deps): update dependency vitest>vite to v8.0.0-beta.16 by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;770](https://redirect.github.com/oxc-project/tsgolint/pull/770)
- chore(deps): update github-actions by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;771](https://redirect.github.com/oxc-project/tsgolint/pull/771)
- chore(deps): update module golang.org/x/sys to v0.42.0 by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;772](https://redirect.github.com/oxc-project/tsgolint/pull/772)
- chore(deps): update taiki-e/install-action action to v2.68.25 by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;773](https://redirect.github.com/oxc-project/tsgolint/pull/773)
- fix(dot-notation): optional chaining autofix by [@&#8203;camc314](https://redirect.github.com/camc314) in [#&#8203;775](https://redirect.github.com/oxc-project/tsgolint/pull/775)
- fix(no-unnecessary-condition): avoid false positive for unresolved conditional null checks by [@&#8203;camc314](https://redirect.github.com/camc314) in [#&#8203;776](https://redirect.github.com/oxc-project/tsgolint/pull/776)
- fix(prefer-optional-chain): false positive on unrelated comparisons by [@&#8203;camc314](https://redirect.github.com/camc314) in [#&#8203;778](https://redirect.github.com/oxc-project/tsgolint/pull/778)
- chore(justfile): add alias `r` for `ready` by [@&#8203;younggglcy](https://redirect.github.com/younggglcy) in [#&#8203;782](https://redirect.github.com/oxc-project/tsgolint/pull/782)
- chore(justfile): add pnpm install steps to init recipe by [@&#8203;younggglcy](https://redirect.github.com/younggglcy) in [#&#8203;783](https://redirect.github.com/oxc-project/tsgolint/pull/783)
- fix(no-base-to-string): handle overloaded toString declarations by [@&#8203;camc314](https://redirect.github.com/camc314) in [#&#8203;779](https://redirect.github.com/oxc-project/tsgolint/pull/779)
- chore: update typescript-go submodule by [@&#8203;camc314](https://redirect.github.com/camc314) in [#&#8203;785](https://redirect.github.com/oxc-project/tsgolint/pull/785)
- fix(restrict-plus-operands): report actual type instead of always reporting RegExp by [@&#8203;younggglcy](https://redirect.github.com/younggglcy) in [#&#8203;786](https://redirect.github.com/oxc-project/tsgolint/pull/786)
- fix(no-unnecessary-condition): handle IndexedAccess types in ?? and ??= paths by [@&#8203;younggglcy](https://redirect.github.com/younggglcy) in [#&#8203;784](https://redirect.github.com/oxc-project/tsgolint/pull/784)
- fix(no-unnecessary-type-assertion): handle JSDoc autofix ranges by [@&#8203;Jkker](https://redirect.github.com/Jkker) in [#&#8203;781](https://redirect.github.com/oxc-project/tsgolint/pull/781)
- fix(no-unnecessary-condition): handle branded record keys in nullish checks by [@&#8203;camc314](https://redirect.github.com/camc314) in [#&#8203;791](https://redirect.github.com/oxc-project/tsgolint/pull/791)
- chore: update typescript-go submodule by [@&#8203;camc314](https://redirect.github.com/camc314) in [#&#8203;788](https://redirect.github.com/oxc-project/tsgolint/pull/788)
- fix(no-unnecessary-condition): use resolved call types for optional chains by [@&#8203;camc314](https://redirect.github.com/camc314) in [#&#8203;792](https://redirect.github.com/oxc-project/tsgolint/pull/792)

#### New Contributors

- [@&#8203;younggglcy](https://redirect.github.com/younggglcy) made their first contribution in [#&#8203;782](https://redirect.github.com/oxc-project/tsgolint/pull/782)
- [@&#8203;Jkker](https://redirect.github.com/Jkker) made their first contribution in [#&#8203;781](https://redirect.github.com/oxc-project/tsgolint/pull/781)

**Full Changelog**: <https://github.com/oxc-project/tsgolint/compare/v0.16.0...v0.17.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/oxc-project/oxc).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNjYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
2026-03-16 09:55:10 +00:00
overlookmotel 1606bd1feb refactor(apps, napi, tasks): remove noUnusedLocals from tsconfigs (#20155)
Remove `noUnusedLocals` option from `tsconfig.json` files. It's redundant, as Oxlint `no-unused-vars` covers this for us.

It's an annoyance to have `noUnusedLocals` enabled, as in VS Code TypeScript complains about unused vars, even if they're prefixed with `_`.

Removing this option allows simplifying type tests added in #20066. Only reason these types had to be exported was to stop TS complaining that they were unused.
2026-03-09 13:42:12 +00:00
camc314 ee0491e937 fix(apps,napi): explicitly specify libs in tsconfigs (#20071)
Replaces #20064

The `dom` lib was implicitly being injected, this means stuff like `Token` and `Comment` were in the global scope, which was incorrect.

cc @overlookmotel
2026-03-06 14:46:23 +00:00
Sysix e8e42ebc9c chore(all): enable tsconfig noUnusedLocals compiler option (#17541)
Unused local variables did not get reported by `@typescript-eslint/no-unused-vars`.
Added `noUnusedLocals` check for every tsconfig, so `pnpm lint` will report them.
Example of failed CI: https://github.com/oxc-project/oxc/actions/runs/20626453016/job/59237769046?pr=17541
2025-12-31 20:31:35 +00:00
Arnaud Barré 8d7ceeeed4 ci(napi/transform): validate napi dts files (#9183)
---------

Co-authored-by: Dunqing <dengqing0821@gmail.com>
2025-02-18 17:14:22 +08:00
Boshen 59e7e4674f feat(napi/transform): add TransformOptions::target API (#7426) 2024-11-23 15:46:33 +00:00