Skip to content

Commit

Permalink
Update checkstyle setup documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
100yo committed Nov 1, 2024
1 parent 8443e6e commit 1b4319d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/02-code-analysis-tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
$ export CHECKS=https://raw.githubusercontent.com/fmi/java-course/master/docs/02-code-analysis-tools/checkstyle/checkstyle.xml

# run for single .java file
$ java -jar checkstyle-10.12.4-all.jar -c $CHECKS Main.java
$ java -jar checkstyle-10.20.0-all.jar -c $CHECKS Main.java

# run for the whole project
$ java -jar checkstyle-10.12.4-all.jar -c $CHECKS my-fancy-project/
$ java -jar checkstyle-10.20.0-all.jar -c $CHECKS my-fancy-project/
```

- From IntelliJ
Expand Down

0 comments on commit 1b4319d

Please sign in to comment.