Skip to content

Commit

Permalink
Update checktyle setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
100yo committed Nov 3, 2023
1 parent 5e003e6 commit cb124c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/02-code-analysis-tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

```bash
# point to our checkstyle rules
$ export CHECKS=https://raw.githubusercontent.com/fmi/java-course/master/docs/01-code-analysis-tools/checkstyle/checkstyle.xml
$ 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.4-all.jar -c $CHECKS Main.java
$ java -jar checkstyle-10.12.4-all.jar -c $CHECKS Main.java

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

- From IntelliJ
Expand Down

0 comments on commit cb124c5

Please sign in to comment.