Skip to content

Commit

Permalink
Updating Readme.md
Browse files Browse the repository at this point in the history
### What's done:
Removed extra tags as the code for maven plugin is small right now
  • Loading branch information
orchestr7 authored Nov 16, 2020
1 parent 370a981 commit 08b2deb
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ This plugin is available since version 0.1.3. You can see how it is configured i
If you use it and encounter any problems, feel free to open issues on [github](https://github.com/cqfn/diktat/issues).

Add this plugin to your pom.xml:
<details>
<summary><b>Maven plugin snippet</b></summary><br>

```xml
<plugin>
<groupId>org.cqfn.diktat</groupId>
Expand All @@ -102,10 +99,8 @@ Add this plugin to your pom.xml:
</plugin>
```

</details>

To run diktat check use command `$ mvn diktat:check@diktat`.
To run diktat in autocorrect mode use command `$ mvn diktat:fix@diktat`.
To run diktat in **only-check** mode use command `$ mvn diktat:check@diktat`.
To run diktat in **autocorrect** mode use command `$ mvn diktat:fix@diktat`.

## Run with Gradle using diktat-gradle-plugin
This plugin is available since version 0.1.4. You can see how the plugin is configured in our project for self-checks: [build.gradle.kts](build.gradle.kts).
Expand Down

0 comments on commit 08b2deb

Please sign in to comment.