Repository navigation
Releases: timmo001/oxlint-rules
Releases · timmo001/oxlint-rules
Release list
0.6.3
What's Changed
- Update dependency bun to v1.4.3 by @renovate[bot] in #87
- Lock file maintenance by @renovate[bot] in #89
- Lock file maintenance by @renovate[bot] in #90
- Lock file maintenance by @renovate[bot] in #91
- Update vendor/anti-slop digest to 13909c9 by @renovate[bot] in #92
- Update oxlint to v1.88.0 by @renovate[bot] in #93
- Update Node.js to v26.12.0 by @renovate[bot] in #94
Full Changelog: 0.6.2...0.6.3
0.6.2
Fixes:
timmo-effect/no-raw-ghonly reports an argv array starting with"gh"when it is passed to a spawn, exec, run or command function, so recording argv in tests, such ascalls.push(["gh", ...args]), is no longer reported.
Full Changelog: 0.6.1...0.6.2
0.6.1
Fixes:
timmo-effect/no-raw-ghonly reports a"gh"literal when arguments follow it, so assertions such asexpect(command).toBe("gh")are no longer reported.
Full Changelog: 0.6.0...0.6.1
0.6.0
New rule, enabled in recommended-effect:
timmo-effect/no-raw-ghreports the rawexecute,jsonandstreammethods called on ayield* Ghbinding from@timmo001/effect-gh,Api.rawfrom that package, and any call whose first argument is"gh"or an array starting with"gh", such asexecutor.run("gh", ...)orBun.spawn(["gh", ...]). Use effect-gh's typed operations (0.5.0 or later), and add one to effect-gh when a command has none.
Other changes:
- Update
oxlint-tsgolintto 7.0.2004.
Full Changelog: 0.5.0...0.6.0
0.5.0
New rules, all enabled in the recommended configs:
timmo/no-untyped-custom-eventreportsCustomEventused as a type without a detail type, which leavesdetailasany.timmo/no-explicit-inferable-type-predicatereports explicitx is Tpredicates that TypeScript already infers, on non-exported functions whose body is only a null,typeoforinstanceofcheck.timmo/prefer-lit-query-decoratorsfollows eslint-plugin-lit'sprefer-query-decorators, including its options andsettings.lit.elementBaseClasses, and also catchesthis.shadowRoot!,?.and asserted render roots. It only reports static selectors. Turn offlit/prefer-query-decoratorswhen using it.timmo/no-unchecked-query-selector-typereports type arguments onquerySelector,querySelectorAllandclosest, which cast the result without checking it.timmo-effect/prefer-platform-services(inrecommended-effect) reports Nodechild_processandfsand Bun'sspawn,spawnSync,$,fileandwritein modules that import Effect. UseChildProcessSpawnerandFileSysteminstead.fetchis not reported.
Other changes:
timmo/prefer-event-parameter-typenow also reports casts ondetailand nesteddetailmembers.timmo/prefer-types-over-assertionsskips those so they are not reported twice.- The recommended configs now enable
typescript/no-non-null-assertion,typescript/no-unnecessary-type-arguments,typescript/no-unnecessary-type-assertionandtypescript/no-unnecessary-type-parametersas errors. The last three needtypeAware. - Rule helpers are shared across plugins, and the copy command copies them too.
- Pin the shared GitHub workflows to
20260929.0.
Full Changelog: 0.4.0...0.5.0
0.4.0
- Add
timmo/prefer-types-over-assertionsto report TypeScript assertions, including those with aSAFETY:comment, while allowingas const. - Use the new rule in the recommended configs instead of the upstream safety-comment requirement. The upstream rule remains available for explicit use.
- Pin
oxlintand@oxlint/pluginsto the validated latest version,1.86.0, alongsideoxlint-tsgolint7.0.2003. - Update package checks and pin the shared GitHub workflows to
20260927.1.
Full Changelog: 0.3.6...0.4.0
0.3.6
- Update the exact Oxlint and @oxlint/plugins peers to 1.85.0.
- Validate packed rules with both recommended configs and type-aware linting using oxlint-tsgolint 7.0.2002.
- Keep future toolchain updates pinned and checked together through Renovate and CI.
Full Changelog: 0.3.5...0.3.6
0.3.5
Changes
- Build the local plugins before linting maintained code with all published custom rules, including tests, tooling, root configuration and packaged skill scripts.
- Tighten internal Oxlint types and apply formatting changes without changing lint rule behaviour or exported configs.
- Clarify installation checks so they follow the target repository's requirements and affected behaviour.
- Refresh shared CI and npm/JSR publishing workflows.
Full Changelog: 0.3.4...0.3.5
0.3.4
Changes
- Update the required
oxlintand@oxlint/pluginspeer versions from1.82.0to1.83.0. Update both packages together when upgrading. - Refresh the Oxlint development dependencies, Node.js tooling and shared CI and publishing workflows.
Lint rule implementations and exported configs are unchanged.
Full Changelog: 0.3.3...0.3.4