Skip to content

Commit

Permalink
Added spotless description to README.md
Browse files Browse the repository at this point in the history
### What's done:
* readme updated
  • Loading branch information
Cheshiriks committed Feb 9, 2021
1 parent 2536c79 commit 7448e5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,15 @@ You can run diktat checks using task `diktatCheck` and automatically fix errors
## Run with Spotless
[Spotless](https://github.com/diffplug/spotless) is a linter aggregator.

###Gradle
### Gradle
Diktat can be run via spotless-gradle-plugin since version 5.10.0

<details>
<summary>Add this plugin to your build.gradle.kts</summary>

```kotlin
plugins {
id("com.diffplug.spotless") version "5.10.0-SNAPSHOT"
id("com.diffplug.spotless") version "5.10.0"
}
spotless {
Expand All @@ -198,7 +198,7 @@ spotless {
```
</details>
###Maven
### Maven
<details>
<summary>Diktat can be run via spotless-maven-plugin since version 2.8.0</summary>
Expand Down

0 comments on commit 7448e5e

Please sign in to comment.