-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from Pi4J/style_cleanup
add checkstyle phase in CI, Fixed the errors
- Loading branch information
Showing
121 changed files
with
4,619 additions
and
5,030 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" | ||
"https://checkstyle.org/dtds/configuration_1_3.dtd"> | ||
|
||
<module name="Checker"> | ||
<module name="TreeWalker"> | ||
<module name="UnusedImports"/> | ||
<module name="RedundantImport"/> | ||
<module name="IllegalImport"/> <!-- defaults to sun.* packages --> | ||
|
||
<!-- Ignore missing field/variable comments --> | ||
<module name="JavadocVariable"> | ||
<property name="severity" value="ignore"/> | ||
</module> | ||
|
||
<!-- Ignore missing method comments --> | ||
<module name="JavadocMethod"> | ||
<property name="allowMissingParamTags" value="true"/> | ||
<property name="allowMissingReturnTag" value="true"/> | ||
</module> | ||
|
||
<!-- Ignore enum constant documentation --> | ||
<module name="JavadocType"> | ||
<property name="tokens" value="INTERFACE_DEF, CLASS_DEF, ANNOTATION_DEF"/> | ||
<!-- This excludes ENUM_DEF --> | ||
</module> | ||
</module> | ||
</module> |
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
Oops, something went wrong.