Skip to content

style: fold enum-fix ternary onto one line - #3

Merged
igorgolovanov merged 1 commit into
mainfrom
style/prettier-enum-fix-block
May 21, 2026
Merged

igorgolovanov merged 1 commit into
mainfrom
style/prettier-enum-fix-block

Conversation

@igorgolovanov

Copy link
Copy Markdown
Owner

Summary

Test plan

  • npm run lint clean
  • npm test — 35/35 passing
  • CI green on this PR

The enum-object-form fix landed on top of an already-formatted file,
so the new ternary survived in its longhand form and tripped Lint on
main after #1 merged. Pure prettier --write, no behavior change.
Copilot AI review requested due to automatic review settings May 21, 2026 11:40
@igorgolovanov
igorgolovanov merged commit b78f5f9 into main May 21, 2026
12 of 13 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restores lint cleanliness by applying prettier --write formatting to a single ternary expression used when deriving an enum reference name in EntitySchemaRenderer, with no intended behavior change.

Changes:

  • Reformats the enum constructor-name fallback ternary into a single line (prettier output).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants