|
| 1 | +<?xml version="1.0"?> |
| 2 | +<!-- |
| 3 | + Licensed to the Apache Software Foundation (ASF) under one |
| 4 | + or more contributor license agreements. See the NOTICE file |
| 5 | + distributed with this work for additional information |
| 6 | + regarding copyright ownership. The ASF licenses this file |
| 7 | + to you under the Apache License, Version 2.0 (the |
| 8 | + "License"); you may not use this file except in compliance |
| 9 | + with the License. You may obtain a copy of the License at |
| 10 | +
|
| 11 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | +
|
| 13 | + Unless required by applicable law or agreed to in writing, |
| 14 | + software distributed under the License is distributed on an |
| 15 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | + KIND, either express or implied. See the License for the |
| 17 | + specific language governing permissions and limitations |
| 18 | + under the License. |
| 19 | +--> |
| 20 | +<!DOCTYPE module PUBLIC |
| 21 | + "-//Puppy Crawl//DTD Check Configuration 1.3//EN" |
| 22 | + "https://checkstyle.org/dtds/configuration_1_3.dtd"> |
| 23 | + |
| 24 | +<module name="Checker"> |
| 25 | + <property name="charset" value="UTF-8"/> |
| 26 | + <property name="severity" value="warning"/> |
| 27 | + <property name="fileExtensions" value="java, properties, xml"/> |
| 28 | + |
| 29 | + <!-- Excludes all 'module-info.java' files --> |
| 30 | + <!-- See https://checkstyle.org/config_filefilters.html --> |
| 31 | + <module name="BeforeExecutionExclusionFileFilter"> |
| 32 | + <property name="fileNamePattern" value="module\-info\.java$"/> |
| 33 | + </module> |
| 34 | + |
| 35 | + <!-- https://checkstyle.org/config_filters.html#SuppressionFilter --> |
| 36 | + <module name="SuppressionFilter"> |
| 37 | + <property name="file" value="${org.checkstyle.google.suppressionfilter.config}" |
| 38 | + default="checkstyle-suppressions.xml" /> |
| 39 | + <property name="optional" value="true"/> |
| 40 | + </module> |
| 41 | + |
| 42 | + <module name="TreeWalker"> |
| 43 | + <!-- Checks for imports --> |
| 44 | + <!-- See http://checkstyle.org/config_imports.html --> |
| 45 | + <module name="IllegalImport"> |
| 46 | + <property name="illegalPkgs" |
| 47 | + value="org.apache.iceberg.shaded, org.apache.iceberg.relocated, org.testcontainers.shaded"/> |
| 48 | + <property name="regexp" value="false"/> |
| 49 | + </module> |
| 50 | + |
| 51 | + </module> |
| 52 | +</module> |
0 commit comments