Skip to content

Add ESLint and Prettier to build-your-social-app#141

Merged
em3s merged 1 commit intomainfrom
init/guide-lint-check
Jan 27, 2026
Merged

Add ESLint and Prettier to build-your-social-app#141
em3s merged 1 commit intomainfrom
init/guide-lint-check

Conversation

@zipdoki
Copy link
Copy Markdown
Contributor

@zipdoki zipdoki commented Jan 27, 2026

Summary

Add ESLint and Prettier to guides/build-your-social-app.
Follows up on #139 which added ESLint and Prettier configuration.

Changes

  • Apply Prettier formatting
    • Normalize quotes to single quotes
    • Fix spacing in imports and JSX expressions
    • Apply consistent trailing commas and semicolons
  • Fix ESLint errors (unused imports, type annotations)

How to Test

$ cd guides/build-your-social-app
$ npm install
$ npm run lint
$ npm run format:check

Run Prettier on all source files and fix 4 ESLint errors:
- Remove useless escape in regex (Layout.tsx)
- Replace non-null assertion on optional chain with nullish coalescing (Feed.tsx)
- Remove unused catch parameter and add comment to empty catch blocks (Followers.tsx, Followings.tsx)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@zipdoki zipdoki self-assigned this Jan 27, 2026
@zipdoki zipdoki requested a review from em3s as a code owner January 27, 2026 21:04
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. maintenance Maintenance work. module:guides labels Jan 27, 2026
@em3s
Copy link
Copy Markdown
Contributor

em3s commented Jan 27, 2026

LGTM 👍

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 27, 2026
@em3s em3s merged commit aa4a40e into main Jan 27, 2026
9 checks passed
@em3s em3s added documentation Improvements or additions to documentation and removed maintenance Maintenance work. module:guides labels Feb 3, 2026
@em3s em3s changed the title chore(guides): add ESLint and Prettier to build-your-social-app Add ESLint and Prettier to build-your-social-app Feb 12, 2026
@em3s em3s deleted the init/guide-lint-check branch March 1, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants