Description: Introducing Checkstyle to a project can be a challenging and NOT an easy job, especially when a project has massive amount of code, very active in development, and there are no resources to start a new process of code cleanup. Checkstyle needs a new approach for filtering violations, which should be based on the diff details of the last commit. With this, users will only need to fix violations only in newly created or changed code. It could be configurable to skip changed lines and and only show violations in purely new code.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List of GIT repositories to clone / pull for checking with Checkstyle | |
# File format: REPO_NAME|[local|git|hg]|URL|[COMMIT_ID]|[EXCLUDE FOLDERS] | |
# Please note that bash comments works in this file | |
# Few projects that delivers set of unusual Java constructions that shall be correctly handled by AST visitor | |
# 'InputAllEscapedUnicodeCharacters' must be skipped because it is too big and slows down JXR | |
checkstyle|git|https://github.com/checkstyle/checkstyle.git|master|**/checkstyle/src/test/resources-noncompilable/**/*,**/InputAllEscapedUnicodeCharacters.java | |
sevntu-checkstyle|git|https://github.com/sevntu-checkstyle/sevntu.checkstyle|master|| | |
checkstyle-sonar|git|https://github.com/checkstyle/sonar-checkstyle|master|| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE module PUBLIC | |
"-//Puppy Crawl//DTD Check Configuration 1.3//EN" | |
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> | |
<module name = "Checker"> | |
<property name="charset" value="UTF-8"/> | |
<!-- do not change severity to 'error', as that will hide errors caused by exceptions --> | |
<property name="severity" value="warning"/> |