Repository navigation
Turn on the Effect lint rules this tree already satisfies - #281
Merged
Merged
Conversation
Pause uses Effect.map instead of Effect.as, and the e2e log redaction no longer uses a non-null assertion. Rules that would rewrite handlers, charts, Vite imports, or the runApi contract stay off. Co-authored-by: Jonathan Beckman <jonathantbeckman@gmail.com>
jonbeckman
marked this pull request as ready for review
November 20, 2026 09:27
Contributor
TegamiThis repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under Create a changelog → · Changelog format No changelogs yetThis PR has no pending changelog files. If your changes require a release, add a changelog before merging. Run Managed by Tegami. |
Contributor
🟢 e2e solstatus-core: 2 passed, 6 skipped, 7 left out by filtersChange 3 files changed since 7 tests left out by filters
All 8 tests in 3 files
Tested by e2e 0.23.0 · 24.3s · 2 targets (chromium, cli) · run artifacts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
oxlint.config.tsenables the Effect and solzero rules that already pass, so new code cannot drift:effect/throw-in-effect-gen,effect/avoid-any,effect/avoid-ts-ignore,effect/avoid-non-null-assertion,effect/prefer-redacted-config,effect/avoid-direct-tag-checkssolzero/no-effect-asTwo lines changed so those rules pass:
Effect.map(() => new MessageResponse(...))instead ofEffect.as.flatMapinstead of a non-null assertion.Left off, because they do not fit:
solzero/no-if-statement(74) andsolzero/no-ternary(57) would rewrite handlers and charts.solzero/no-return-in-arrow(9) rejects the Drizzle and React callbacks.solzero/prevent-dynamic-imports(3) rejects the Vite plugin imports inpackages/app/vite.config.ts.solzero/no-manual-effect-channels(1) rejects therunApicallback contract.release:none: lint configuration and two equivalent expressions. No package publish.Validation
nub run typechecknub run lint(clean with the new rules)nub run formatnub exec e2e run --strict-cache(9 passed, 6 skipped on the other target)Checklist
.tegami/release entry, or explained why this pull request usesrelease:none.nub run typecheck,nub run lint,nub run format, andnub run test.