Skip to content

fix: correct prettier formatting in JokeGeneratorScreen.tsx#17

Draft
pragan333 with Copilot wants to merge 2 commits into
mainfrom
copilot/write-program
Draft

fix: correct prettier formatting in JokeGeneratorScreen.tsx#17
pragan333 with Copilot wants to merge 2 commits into
mainfrom
copilot/write-program

Conversation

Copilot AI commented Mar 27, 2026

Copy link
Copy Markdown

JokeGeneratorScreen.tsx had prettier violations causing CI lint to fail under --max-warnings 0.

Changes

  • Quote escaping: 'Why don\'t...'"Why don't..." — prefer double quotes over escape sequences when string contains apostrophe
  • Arrow parens: prev =>(prev) => — satisfy prettier's arrowParens: "always" default
  • Trailing whitespace: stripped from affected lines in fetchRandomJoke and JSX blocks
  • EOF newline: added missing trailing newline
Original prompt

Write a program


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

@vercel

vercel Bot commented Mar 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
expo Ready Ready Preview, Comment Mar 27, 2026 10:29pm

Request Review

Copilot AI changed the title [WIP] Add program to repository fix: correct prettier formatting in JokeGeneratorScreen.tsx Mar 27, 2026
Copilot AI requested a review from pragan333 March 27, 2026 22:29
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