diff --git a/checkstyle.json b/checkstyle.json index 1fde0bf6c..4c2510ee0 100644 --- a/checkstyle.json +++ b/checkstyle.json @@ -39,12 +39,6 @@ "props": {}, "type": "AvoidStarImport" }, - { - "props": { - "severity": "IGNORE" - }, - "type": "AvoidTernaryOperator" - }, { "props": {}, "type": "BlockBreakingConditional" @@ -70,7 +64,6 @@ { "props": { "severity": "IGNORE", - "policy": "aligned", "allowSingleline": true }, @@ -107,8 +100,7 @@ { "props": { "lineStyle": "onestar", - "startStyle": "twostars", - "severity": "IGNORE" + "startStyle": "ignore" }, "type": "DocCommentStyle" }, @@ -627,8 +619,9 @@ { "type": "VarTypeHint", "props": { - "typeHintPolicy": "infer_new_or_const", - "ignoreEnumAbstractValues": true + "typeHintPolicy": "enforce_all", + "ignoreEnumAbstractValues": true, + "severity": "IGNORE" } }, {