Skip to content

Commit

Permalink
make the spotless usage block level
Browse files Browse the repository at this point in the history
  • Loading branch information
breedx-splk committed Oct 23, 2024
1 parent 01a801d commit 50be27f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,13 @@ The output artifacts will be in `instrumentation/build/outputs/`.
We use [spotless](https://github.com/diffplug/spotless) to enforce a consistent code style
throughout the project. This includes reformatting (linting) of both source code and markdown.

Before submitting a PR, you should ensure that your code is linted by
running `./gradlew spotlessApply` and committing your changes.
Before submitting a PR, you should ensure that your code is linted. We use the
[spotless gradle plugin](https://github.com/diffplug/spotless/tree/main/plugin-gradle) to
make this easy. You should run it like this:

```
./gradlew spotlessApply
```

### Tests

Expand Down

0 comments on commit 50be27f

Please sign in to comment.