Skip to content

chore: prefer Option.fromNullable - #22

Merged
K-Mistele merged 1 commit into
mainfrom
adopt-no-service-option
Aug 27, 2026
Merged

chore: prefer Option.fromNullable#22
K-Mistele merged 1 commit into
mainfrom
adopt-no-service-option

Conversation

@K-Mistele

Copy link
Copy Markdown
Contributor

Summary

  • vendor and register automation/prefer-option-from-nullable
  • enforce the rule as an error outside the protected TUI scope
  • prevent verbose nullable ternaries from manually choosing between Option.some and Option.none

The current codebase has no violations, so this is preventive enforcement.

Validation

  • bun run lint
  • bun run format:check
  • bun run typecheck

Prevent verbose nullable ternaries from manually choosing between Option.some and Option.none; the existing codebase has no violations.

HumanLayer-Session: https://app.dev.codelayer.gg/sessions/01a043f7-5879-7bed-bb7d-00e644090409
@K-Mistele
K-Mistele merged commit 86da14f into main Aug 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant