Skip to content

Commit

Permalink
[style](fe) add package directory structure matching check (#45794)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

Problem Summary:

check fe-core package directory structure to ensure it is same with
package name in files and fix check failed files
  • Loading branch information
morrySnow authored Dec 23, 2024
1 parent 2d65c59 commit e5991cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fe/check/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,10 @@ under the License.
value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
</module>

<module name="PackageDeclaration">
<property name="matchDirectoryStructure" value="true"/>
</module>

<!-- filter -->
<!-- https://checkstyle.org/config_filters.html#SuppressionXpathFilter -->
<module name="SuppressionXpathFilter">
Expand Down

0 comments on commit e5991cc

Please sign in to comment.