Skip to content

Add .editorconfig for consistent code formatting #964

Closed

Description

@el-qq

Is your feature request related to a problem? Please describe.
The repository currently does not provide an .editorconfig file. As a result, contributors using different IDEs or editors may have different default settings for indentation, line endings, trailing whitespace, and other basic formatting rules. This can lead to unnecessary formatting-only changes in pull requests.

Describe the solution you'd like
Add a root .editorconfig file with the project's basic formatting conventions, especially for Kotlin and Gradle files
This would make formatting behavior more consistent across supported editors and IDEs and reduce unrelated changes in diffs

Describe alternatives you've considered
Relying on IDE-specific settings or contributor-local configuration, but these settings are not automatically shared across different development environments

Additional context
.editorconfig is widely supported by modern IDEs, including Android Studio and IntelliJ IDEA, and would provide a lightweight way to document and enforce basic repository-wide formatting preferences

Activity

  1. added
    type: feature request
    triage me
    on Aug 14, 2026
  2. added a commit that references this issue on Aug 14, 2026
    22af747
  3. added a commit that references this issue on Aug 17, 2026
    c7b1db0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage metype: feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions