Skip to content

Commit

Permalink
Suppress checkstyle for autogenerated files
Browse files Browse the repository at this point in the history
Exclude checkstyle checks on autogenerated files by swagger
  • Loading branch information
dulanjalidilmi committed Jan 21, 2021
1 parent cf4a1db commit e1c8d00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion checkstyle/suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@

<suppress files="[\\/]src[\\/]gen[\\/]" checks="."/>
<suppress files="[\\/]target[\\/].*[\\/]generated[\\/]" checks="."/>

<suppress files="monitoring-dashboard/components/org.wso2.ei.dashboard.core/src/main/java/org/wso2/ei/dashboard/core/rest/api" checks="[a-zA-Z0-9]*"/>
<suppress files="monitoring-dashboard/components/org.wso2.ei.dashboard.core/src/main/java/org/wso2/ei/dashboard/core/rest/model" checks="[a-zA-Z0-9]*"/>
</suppressions>

0 comments on commit e1c8d00

Please sign in to comment.