Skip to content

Commit

Permalink
🐛 fix(1.0): 删除在最新checkstyle规范中去掉的maxLineLength设置
Browse files Browse the repository at this point in the history
checkstyle/checkstyle#3671

refs #3

Signed-off-by: Tony Deng <wolf.deng@gmail.com>
  • Loading branch information
tonydeng committed Jun 26, 2019
1 parent 118d6e0 commit 62c28db
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions checkstyle.xml
Expand Up @@ -59,9 +59,7 @@
<!--option: 定义左大括号'{'显示位置,eol在同一行显示,nl在下一行显示
maxLineLength: 大括号'{'所在行行最多容纳的字符数
tokens: 该属性适用的类型,例:CLASS_DEF,INTERFACE_DEF,METHOD_DEF,CTOR_DEF -->
<module name="LeftCurly">
<property name="maxLineLength" value="120"/>
</module>
<module name="LeftCurly" />

<!-- Checks the placement of right curly braces ('}') for else, try, and catch tokens. The policy to verify is specified using property option.
option: 右大括号是否单独一行显示
Expand Down

0 comments on commit 62c28db

Please sign in to comment.