Skip to content

chore: add .editorconfig for consistent formatting#395

Open
nishupr wants to merge 1 commit into
devpathindcommunity-india:masterfrom
nishupr:chore/add-editorconfig
Open

chore: add .editorconfig for consistent formatting#395
nishupr wants to merge 1 commit into
devpathindcommunity-india:masterfrom
nishupr:chore/add-editorconfig

Conversation

@nishupr
Copy link
Copy Markdown
Contributor

@nishupr nishupr commented May 29, 2026

Fix #370

What does this PR do?

Adds a standard .editorconfig file to the project root to ensure
consistent code formatting across different IDEs and editors.

Changes Made

  • Created .editorconfig file in the project root
  • Set UTF-8 charset and LF line endings
  • Configured 2-space indentation for all files
  • Added specific rules for .md, .json, .yml, .ts, .tsx files
  • Enabled trim trailing whitespace and insert final newline

Why?

Without a standard .editorconfig, different developers using
different IDEs (VS Code, WebStorm, etc.) may produce inconsistent
formatting, leading to unnecessary diffs in PRs.

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.

[Enhancement] Create a standard .editorconfig file for consistent formatting

1 participant