Skip to content

Conversation

@andreasnicolaou
Copy link
Contributor

@andreasnicolaou andreasnicolaou commented Dec 9, 2025

This PR introduces Prettier for consistent code formatting, and a plugin to organize imports.

Whats Added:

  • 120 character line width for better readability
  • Single quotes for consistency
  • Trailing commas with es5 compatibility
  • Organization via prettier-plugin-organize-imports

Benefits:

  • Consistent code style across all contributors
  • Improved readability and maintainability
  • Better integration with IDEs and CI/CD workflows

There are 2 new scripts added:

1. npm run format  # Formats all files
2. npm run format:check  # Checks formatting without applying any changes to the files

@andreasnicolaou andreasnicolaou changed the base branch from master to develop December 9, 2025 08:02
@andreasnicolaou andreasnicolaou changed the base branch from develop to master December 9, 2025 08:07
@andreasnicolaou
Copy link
Contributor Author

@reblace This addresses your suggestion to submit the prettier configuration as a separate PR. Feel free to review the configuration and let me know if you'd like any adjustments to the formatting rules.

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.

1 participant