Skip to content

feat: add Prettier for consistent code formatting#49

Closed
Ai-chan-0411 wants to merge 1 commit intoO2sa:mainfrom
Ai-chan-0411:feat/prettier-config
Closed

feat: add Prettier for consistent code formatting#49
Ai-chan-0411 wants to merge 1 commit intoO2sa:mainfrom
Ai-chan-0411:feat/prettier-config

Conversation

@Ai-chan-0411
Copy link
Copy Markdown
Contributor

Summary

Adds Prettier configuration for consistent code formatting across the project:

  • .prettierrc with sensible defaults (2-space indent, semicolons, double quotes, trailing commas)
  • Includes prettier-plugin-tailwindcss for automatic Tailwind class sorting
  • .prettierignore to skip build artifacts and lock files
  • format and format:check npm scripts for easy usage

Closes #27

Test Plan

  • Run pnpm install to install Prettier
  • Run pnpm format:check to verify config is picked up
  • Run pnpm format to format the codebase

Adds .prettierrc with Tailwind CSS plugin, .prettierignore, and format scripts.

Closes O2sa#27
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 11, 2026

@aoi-dev-0411 is attempting to deploy a commit to the osama's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

Thank you for the pull request! ✅

A maintainer will review this soon. Please be patient while we take a look. 🙌

@Ai-chan-0411
Copy link
Copy Markdown
Contributor Author

Closing this PR as there has been no maintainer feedback for several weeks. Thank you for the opportunity to contribute! Feel free to reopen if you would like these changes.

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.

Add Prettier for code formatting

1 participant