Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
pbludov on master
minor: cleanup whitelist words Issue #7877: Removed redundant … Issue #5711: JavadocTagContinua… and 36 more (compare)
pbludov on issue-9146-java11
Issue #9146: specify java versi… (compare)
pbludov on maven
pbludov on issue-9146-java11
minor: cleanup whitelist words Issue #7877: Removed redundant … Issue #5711: JavadocTagContinua… and 9 more (compare)
pbludov on issue-9310-java11-inputs
pbludov on issue-9310-java11-inputs
Issue #9310: test inputs should… (compare)
pbludov on issue-9310-java11-inputs
Issue #9310: test inputs should… (compare)
pbludov on issue-9310-java11-inputs
Issue #9152: Record implementin… infra: add checkout_from suppor… dependency: bump archunit-junit… and 3 more (compare)
pbludov on issue-9310-java11-inputs
minor: cleanup whitelist words Issue #7877: Removed redundant … Issue #5711: JavadocTagContinua… and 1 more (compare)
pbludov on issue-9310-java11-inputs
Issue #9310: test inputs should… (compare)
pbludov on issue-9310-java11-inputs
Issue #9310: test inputs should… (compare)
pbludov on issue-9310-java11-inputs
Issue #9310: test inputs should… (compare)
pbludov on issue-9310-java11-inputs
#Issue #9310: test inputs shoul… (compare)
pbludov on master
doc: fix checkstyle jar version… Issue #9297: solve spotbugs vio… (compare)
pbludov on issue-9297-spotbugs-11
pbludov on issue-9146-java11
Issue #9146: update javassist t… Issue #9297: solve spotbugs vio… Issue #9146: switch to jdk 11 i… and 1 more (compare)
pbludov on issue-9146-java11
Issue #9146: switch to jdk 11 i… Issue #9146: update javassist t… Issue #9297: solve spotbugs vio… (compare)
pbludov on issue-9146-java11
Issue #9146: switch to jdk 11 i… (compare)
pbludov on issue-9146-java11
Issue #9146: upgrade minimal re… Issue #9146: switch to jdk 11 i… (compare)
pbludov on issue-9297-spotbugs-11
Pull #9298: change job to check… Issue #9297: solve spotbugs vio… (compare)
pom.xml
is fine now. I think it's working :)
@Abhishek-kumar09
welcome to checkstyle @anhminhtran235, now you can hack on it:)
Thank you @Abhishek-kumar09
Checkout some easy to get started with issues: https://github.com/checkstyle/checkstyle/issues?q=is%3Aissue+is%3Aopen+label%3Aapproved+label%3Aeasy
Documentation related issues to know better about the project in less time(Recommended): https://github.com/checkstyle/checkstyle/labels/gsoc%20first%20issue
Just tell everyone that you are on it, some issues have already those comments, please ignore those if they are posted 30+ days ago. They are open and you could chose it work.
Happy Hacking!
public class InputIndentationNew { //indent:0 exp:0
void test() throws IOException { //indent:4 exp:4
BufferedReader bf = //indent:8 exp:8
new BufferedReader( //indent:16 exp:16
new InputStreamReader(System.in) { //indent:16 <----- line 5
int a = 0; //indent:20
}); //indent:16 exp:16
} //indent:4 exp:4
} //indent:0 exp:0
Is line 5 correctly indented or it should follow a basic offset or line wrapping indentation being on the next line.