Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 597 Bytes

coding-style.md

File metadata and controls

12 lines (7 loc) · 597 Bytes

Coding Style

Our code style guidelines are based on the Android Code Style Guidelines for Contributors. We only changed a few rules:

  • Line length is 120 characters
  • FIXME must not be committed in the repository—use TODO instead.

Spotless

All code needs to comply with the Spotless checks before being merged. You can check this locally using ./gradlew spotlessCheck, or auto-format your code with ./gradlew spotlessApply.

The project has a Git hook you can install to run this check on pre-commit ./gradlew installGitHooks.