From db67a6928cc9b49949586a50a8b5d829f4222e6e Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Tue, 26 Aug 2025 23:12:10 -0400 Subject: [PATCH] ignroe VarTypeHint since it's a bit incompatible with `final` --- checkstyle.json | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) 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" } }, {