mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-22 19:04:55 +00:00
addressing outdated version issue of Checkstyle in code style documentation (#330)
#329 /kind documentation ``` None ```
This commit is contained in:
@@ -13,7 +13,7 @@ Halo 添加了 checkstyle 插件,来保证每位提交者代码的风格保持
|
||||
## 配置 CheckStyle
|
||||
|
||||
- 进入 CheckStyle 配置(File | Settings | Tools | Checkstyle)。
|
||||
- 选择 Checkstyle 版本:8.39。
|
||||
- 选择 Checkstyle 版本:9.3(以文件 `application/build.gradle` 中指定的版本为准)。
|
||||
- 在配置文件中点击添加按钮,配置描述可随便填写(推荐 Halo Checks),选择 ./config/checkstyle/checkstyle.xml,点击下一步和完成。
|
||||
- 勾选刚刚创建的配置文件。
|
||||
|
||||
|
Reference in New Issue
Block a user