add checkstyle regex to ignore long lines if they are strings (w/ whitespace)
This commit is contained in:
committed by
MoonDroid
parent
a5842fbe3f
commit
f09074b79d
+2
-2
@@ -252,7 +252,7 @@
|
||||
{
|
||||
"props": {
|
||||
"max": 160,
|
||||
"ignorePattern": "^$"
|
||||
"ignorePattern": "^(\\s*['\"][^'\"]*['\"].*)$"
|
||||
},
|
||||
"type": "LineLength"
|
||||
},
|
||||
@@ -355,7 +355,7 @@
|
||||
{
|
||||
"props": {
|
||||
"allowSingleLineStatement": true,
|
||||
"tokens": ["FOR", "ELSE_IF", "WHILE", "DO_WHILE"]
|
||||
"tokens": ["ELSE_IF", "WHILE", "DO_WHILE"]
|
||||
},
|
||||
"type": "NeedBraces"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user