Skip to content

Add .editorconfig and .gitattributes for consistent coding standards #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mariosfish
Copy link

@mariosfish mariosfish commented May 1, 2025

This links with issue #138

To help ensure consistent coding standards and improve cross-platform collaboration, I propose adding the following files to the repository:

1 .editorconfig – Helps enforce consistent indentation, line endings, charset, etc., across different editors and IDEs.

2 .gitattributes – Useful for defining how Git should handle line endings and text encoding, and for marking binary files.

Benefits:

Prevents common formatting issues (e.g., mixed tabs/spaces, inconsistent line endings).

Simplifies collaboration by aligning developer environments automatically.

Reduces noise in diffs caused by inconsistent formatting.

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