amanbairagi30 / merged-n-share

A platform where user can come fetch their merged PRs from the selected repo and showcase and share their OS contribution as POW to anyone around the world
https://mergedandshare.in/
19 stars 1 forks source link

Proposal: Ensure consistent formatting across all contributors, regardless of their editor. #6

Closed harsimran-d closed 1 week ago

harsimran-d commented 1 week ago

Issue Summary

To ensure consistency in code formatting and development workflow across different editors and IDEs, I propose adding the following configuration files to the project:

•   .editorconfig: To maintain consistent indentation, line endings, and other editor settings.
•   .eslintrc: To enforce JavaScript/TypeScript code linting standards.
•   .prettierrc: To ensure consistent code formatting.

This will help minimize unnecessary diffs caused by different formatting styles and improve code readability for everyone.

amanbairagi30 commented 1 week ago

Go for it @harsimran-d