From f2b81b1d87f6c855bed55dae296bddb9bd587dd0 Mon Sep 17 00:00:00 2001 From: Terry Yiu <963907+tyiu@users.noreply.github.com> Date: Fri, 22 Jul 2022 10:08:57 -0700 Subject: [PATCH 1/5] Exclude property access inspections on assertj assertions due to side-effects --- configs/inspection/Square.xml | 44 +++++++++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/configs/inspection/Square.xml b/configs/inspection/Square.xml index cdbff23..a87576b 100644 --- a/configs/inspection/Square.xml +++ b/configs/inspection/Square.xml @@ -1,10 +1,46 @@ - - + - + + + + From 1af1c63dc788a3eba36c69ccabadf17184634eb5 Mon Sep 17 00:00:00 2001 From: Kirill Zhukov Date: Tue, 16 Aug 2022 21:35:28 -0700 Subject: [PATCH 2/5] Fix trailing commas configuration - KTIJ-22516. ALLOW_TRAILING_COMMA configuration does not currently get picked up by IJ/AS, it only works if it's set up using legacy `JetCodeStyleSettings` block. See https://youtrack.jetbrains.com/issue/KTIJ-22516 for more details, enabling trailing commas via `JetCodeStyleSettings` until the IDE bug is fixed. --- configs/codestyles/Square.xml | 2 ++ configs/codestyles/SquareAndroid.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/codestyles/Square.xml b/configs/codestyles/Square.xml index d7b0a46..ebee07c 100644 --- a/configs/codestyles/Square.xml +++ b/configs/codestyles/Square.xml @@ -77,6 +77,8 @@