Skip to content

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

Merged
em3s merged 5 commits intomainfrom
init/guide-lint
Jan 27, 2026
Merged

Add ESLint and Prettier to build-your-social-app#139
em3s merged 5 commits intomainfrom
init/guide-lint

Conversation

@zipdoki
Copy link
Copy Markdown
Contributor

@zipdoki zipdoki commented Jan 27, 2026

Summary

Add ESLint and Prettier to the social app guide for code quality and formatting.

Changes

  • Add ESLint and Prettier
  • Add scripts: lint, format, format:check

How to Test

$ cd guides/build-your-social-app
$ npm install
$ npm run format:check   # should pass
$ npm run lint           # shows existing code issues (55 errors, 31 warnings)

zipdoki and others added 2 commits January 28, 2026 00:21
Set up code quality tooling for the social app guide:
- ESLint with typescript-eslint, react-hooks, react-refresh plugins
- Prettier with eslint-config-prettier for conflict-free formatting
- Scripts: lint, format, format:check

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Run prettier --write on all source files (44 files reformatted).

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 15:37
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. module:guides labels Jan 27, 2026
@zipdoki
Copy link
Copy Markdown
Contributor Author

zipdoki commented Jan 27, 2026

Existing lint issues (55 errors, 31 warnings) will be addressed in a follow-up PR.

zipdoki and others added 3 commits January 28, 2026 01:37
- Match .prettierrc to website
- Change no-unused-vars from error to warn to match website
- Add .prettierignore for build output and dependencies
- Reformat source files with updated Prettier settings

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Align eslint.config.js to match the website's flat config format.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Jan 27, 2026
@em3s
Copy link
Copy Markdown
Contributor

em3s commented Jan 27, 2026

LGTM 👍

@em3s em3s merged commit a4f4653 into main Jan 27, 2026
9 checks passed
@em3s em3s removed their request for review January 27, 2026 17:46
@em3s em3s added documentation Improvements or additions to documentation and removed 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 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 size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants