From f29f14224a80724ecd170951431f141bab09c828 Mon Sep 17 00:00:00 2001 From: Ioannis J Date: Mon, 2 Dec 2024 16:01:28 +0200 Subject: [PATCH] fix: lint --- .swiftlint.yml | 6 +++++- PostHog/Replay/PostHogReplayIntegration.swift | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index 519c6e3ae..fae5d675c 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -15,9 +15,13 @@ disabled_rules: - trailing_comma - opening_brace -line_length: +line_length: warning: 160 ignores_comments: true + excluded_lines_patterns: [ + # long deprecation messages + \@available(.*/*deprecated.*) + ] file_length: warning: 1000 diff --git a/PostHog/Replay/PostHogReplayIntegration.swift b/PostHog/Replay/PostHogReplayIntegration.swift index 87a696859..ec1284e08 100644 --- a/PostHog/Replay/PostHogReplayIntegration.swift +++ b/PostHog/Replay/PostHogReplayIntegration.swift @@ -467,7 +467,7 @@ if isAssetsImage(image) { return false } - + // symbols are probably not sensitive if image.isSymbolImage { return false