HBASE-27102 Vacate the .idea folder in order to simplify spotless configuration

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
Nick Dimiduk 2022-06-09 15:14:21 +02:00 committed by Nick Dimiduk
parent e191fe9219
commit 6b21d3ff11
2 changed files with 3 additions and 21 deletions

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CheckStyle-IDEA">
<option name="configuration">
<map>
<entry key="active-configuration" value="PROJECT_RELATIVE:$PROJECT_DIR$/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml:HBase Checks" />
<entry key="checkstyle-version" value="8.29" />
<entry key="copy-libs" value="false" />
<entry key="location-0" value="BUNDLED:(bundled):Sun Checks" />
<entry key="location-1" value="BUNDLED:(bundled):Google Checks" />
<entry key="location-2" value="PROJECT_RELATIVE:$PROJECT_DIR$/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml:HBase Checks" />
<entry key="scan-before-checkin" value="false" />
<entry key="scanscope" value="JavaOnlyWithTests" />
<entry key="suppress-errors" value="false" />
</map>
</option>
</component>
</project>

View File

@ -294,14 +294,14 @@ type.
The following plugins are recommended: The following plugins are recommended:
. Maven, bundled. This allows IntelliJ to resolve dependencies and recognize the project structure. . Maven, bundled. This allows IntelliJ to resolve dependencies and recognize the project structure.
. EditorConfig, bundled. This will apply project whitespace settings found in the the . EditorConfig, bundled. This will apply project whitespace settings found in the
`.editorconfig` file available on branches with `.editorconfig` file available on branches with
link:https://issues.apache.org/jira/browse/HBASE-23234[HBASE-23234] or later. link:https://issues.apache.org/jira/browse/HBASE-23234[HBASE-23234] or later.
. link:https://plugins.jetbrains.com/plugin/1065-checkstyle-idea/[Checkstyle-IDEA]. Configure this . link:https://plugins.jetbrains.com/plugin/1065-checkstyle-idea/[Checkstyle-IDEA]. Configure this
against the configuration file found under `hbase-checkstyle/src/main/resources/hbase/checkstyle.xml` against the configuration file found under `hbase-checkstyle/src/main/resources/hbase/checkstyle.xml`
(If the Intellij checkstyle plugin complains parsing the volunteered hbase `checkstyle.xml`, make (If the Intellij checkstyle plugin complains parsing the volunteered hbase `checkstyle.xml`, make
sure the plugin's `version` popup menu matches the hbase checkstyle version -- see sure the plugin's `version` popup menu matches the hbase checkstyle version. Find the current
link:https://issues.apache.org/jira/browse/HBASE-23242[HBASE-23242] for more). checkstyle version as a property in `pom.xml`.
This plugin will highlight style errors in the IDE, so you can fix them before they get flagged during the This plugin will highlight style errors in the IDE, so you can fix them before they get flagged during the
pre-commit process. pre-commit process.
. link:https://plugins.jetbrains.com/plugin/8277-protobuf-support/[Protobuf Support]. HBase uses . link:https://plugins.jetbrains.com/plugin/8277-protobuf-support/[Protobuf Support]. HBase uses