Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
snuyanzin committed Oct 10, 2024
1 parent 63b92bd commit 20011a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/content.zh/docs/flinkDev/ide_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ IntelliJ 使用 Checkstyle-IDEA 插件在 IDE 中支持 checkstyle。
1. 从 IntelliJ 插件存储库中安装 "Checkstyle-IDEA" 插件。
2. 通过 Settings → Tools → Checkstyle 配置插件。
3. 将 "Scan Scope" 设置为仅 Java 源(包括测试)。
4. 在 "Checkstyle Version" 下拉菜单中选择 _9.3_ 版本,然后单击 "apply"。**此步骤很重要,请勿跳过!**
4. 在 "Checkstyle Version" 下拉菜单中选择 _10.18.2_ 版本,然后单击 "apply"。**此步骤很重要,请勿跳过!**
5. 在 "Configuration File" 窗格中,点击 "+" 图标添加新配置:
1. 将 "Description" 设置为 Flink。
2. 选择 "Use a local Checkstyle file" ,然后将其指向你存储库中 `"tools/maven/checkstyle.xml"` 文件。
Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/flinkDev/ide_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ any of these modules.

1. Go to "Settings" → "Tools" → "Checkstyle".
2. Set "Scan Scope" to "Only Java sources (including tests)".
3. For "Checkstyle Version" select "9.3".
3. For "Checkstyle Version" select "10.18.2".
4. Under "Configuration File" click the "+" icon to add a new configuration.
5. Set "Description" to "Flink".
6. Select "Use a local Checkstyle file" and point it to `tools/maven/checkstyle.xml` located within
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ under the License.
<orc.version>1.5.6</orc.version>
<japicmp.referenceVersion>1.20.0</japicmp.referenceVersion>
<japicmp.outputDir>tools/japicmp-output</japicmp.outputDir>
<checkstyle.version>9.3</checkstyle.version>
<checkstyle.version>10.18.2</checkstyle.version>
<!-- can be removed with maven-spotless-plugin:2.38+ -->
<spotless.skip>false</spotless.skip>
<spotless.version>2.27.1</spotless.version>
Expand Down

0 comments on commit 20011a9

Please sign in to comment.