Description
Add an .editorconfig file to maintain consistent coding styles across all editors and IDEs.
Problem Statement
Without an .editorconfig, contributors using different editors may introduce inconsistent whitespace, line endings, and indentation — leading to noisy diffs and formatting issues during code review.
Proposed Solution
Create a root .editorconfig covering:
- UTF-8 encoding with LF line endings
- 2-space indent for JavaScript, TypeScript, JSON, YAML, CSS, HTML
- 4-space indent for Python (if any)
- Trim trailing whitespace (except Markdown)
- Insert final newline
- Max line length of 120 characters
Acceptance Criteria
GSSoC
Description
Add an
.editorconfigfile to maintain consistent coding styles across all editors and IDEs.Problem Statement
Without an
.editorconfig, contributors using different editors may introduce inconsistent whitespace, line endings, and indentation — leading to noisy diffs and formatting issues during code review.Proposed Solution
Create a root
.editorconfigcovering:Acceptance Criteria
.editorconfigexists at project rootGSSoC