Skip to content

build: add .editorconfig for consistent code formatting - #2388

Merged
dkhawk merged 1 commit into
mainfrom
add-editorconfig
Aug 14, 2026
Merged

build: add .editorconfig for consistent code formatting#2388
dkhawk merged 1 commit into
mainfrom
add-editorconfig

Conversation

@kikoso

@kikoso kikoso commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a root .editorconfig with basic formatting conventions (UTF-8, LF line endings, trailing whitespace trimming, final newline) and indentation rules for Kotlin, Java, Gradle, XML, YAML/JSON, and Markdown.
  • Keeps formatting consistent across editors/IDEs (Android Studio, IntelliJ IDEA, etc.) and reduces formatting-only diffs in PRs.

Fixes googlemaps/android-maps-compose#964

Test plan

  • Verified .editorconfig is picked up by Android Studio/IntelliJ (root = true, standard sections)
  • N/A — config-only change, no build/test impact

Adds a root .editorconfig with basic formatting conventions
(UTF-8, LF line endings, trailing whitespace trimming, final
newline, and indentation rules for Kotlin, Java, Gradle, XML,
YAML/JSON, and Markdown) so contributors get consistent
defaults across editors and IDEs.

Fixes #964
@kikoso kikoso changed the title Add .editorconfig for consistent code formatting build: add .editorconfig for consistent code formatting Aug 14, 2026
@dkhawk
dkhawk merged commit 203112a into main Aug 14, 2026
22 checks passed
@dkhawk
dkhawk deleted the add-editorconfig branch August 14, 2026 18:38
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.

Add .editorconfig for consistent code formatting

2 participants