maplibre / maplibre/maplibre-plugins-android

Formatter CI

Open
#24 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
50
Forks
33
PR merge metrics
No merged PRs in 30d

Description

We should have a CI that ensures that contributions do not add files that are formatted badly by mistake.

Background: in https://github.com/maplibre/maplibre-plugins-android/pull/21#pullrequestreview-1339236007, the indentation of a lot of files were changed by accident. If I see correctly (I might not), the repo had also been previously formatted inconsistently between 2-spaces and 4-spaces indentation.

cc @louwers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the repository's existing CI configuration and formatting conventions, then review pull request #21 and its formatting changes. Define the formatting check's scope and expected indentation before implementing it; done means contributions with badly formatted files are rejected by CI without changing unrelated files.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.