Skip to content

Commit

Permalink
Make the spotless usage block level (#656)
Browse files Browse the repository at this point in the history
* make the spotless usage block level

* spotless (oh the irony!)
  • Loading branch information
breedx-splk authored Oct 28, 2024
1 parent 6a06fa6 commit c1c3f07
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 c1c3f07

Please sign in to comment.