Skip to content

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

Open
kikoso wants to merge 1 commit into
mainfrom
add-editorconfig
Open

build: add .editorconfig for consistent code formatting#111
kikoso wants to merge 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
@googlemaps-bot

Copy link
Copy Markdown
Contributor

Code Coverage

Overall Project 0%

There is no coverage information present for the Files changed

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

3 participants