From 668cbc22814495c0502763d8a73ee67e2d3fcf26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 15 Jun 2024 13:59:21 +0200 Subject: [PATCH] Swiftlint: disable the colon rule that can't deal properly with the ternary operator --- Scripts/swiftlint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Scripts/swiftlint.yml b/Scripts/swiftlint.yml index af49e16e2..626f60005 100644 --- a/Scripts/swiftlint.yml +++ b/Scripts/swiftlint.yml @@ -2,6 +2,8 @@ included: - ../GRDB disabled_rules: + # colon does not play well with the ternaty operator :-/ + - colon - comment_spacing - cyclomatic_complexity - duplicate_enum_cases