Skip to content

Revive excludedPaths by stopping double resolution#6825

Open
tomotakatakahashi wants to merge 1 commit into
realm:mainfrom
tomotakatakahashi:exclusion-ignored-6795
Open

Revive excludedPaths by stopping double resolution#6825
tomotakatakahashi wants to merge 1 commit into
realm:mainfrom
tomotakatakahashi:exclusion-ignored-6795

Conversation

@tomotakatakahashi

@tomotakatakahashi tomotakatakahashi commented Jul 15, 2026

Copy link
Copy Markdown

Summary

This commit stops resolving a path to an absolute path in Configuration.groupFiles. This will resolve the issue mentioned in comments in #6795 that the excluded configuration in .swiftlint.yml is ignored when file paths are passed as arguments.

Context

The excluded configuration is sometimes ignored since v0.64.0 (#6795 (comment)). The issue seems to happen when file paths are passed as arguments (for example, runningswiftlint Foo.swift Bar.swift instead of swiftlint . or swiftlint).

Using a debugger, I found that excludedRelativePath in the diff was actually not a relative path, because it had already been resolved in Configuration+Parsing.swift. As a result, let excludedPath in the diff was being doubly-resolved to an invalid path like "file:///Users/username/projects/foo/Users/username/projects/foo/MyPackage/Package.swift".

Test

  • With this reproduction setup and with Arguments Passed On Launch NoProblem.swift MyPackage/Package.swift, running the swiftlint scheme:
    • Before this PR: Failed
    • After this PR: Succeeded

Comment

  • I couldn't find an appropriate place to put unit tests. Any suggestions would be appreciated.
  • I'm new to this codebase. Sorry if something is wrong.

@SwiftLintBot

SwiftLintBot commented Jul 15, 2026

Copy link
Copy Markdown
16890 Messages
📖 Building this branch resulted in the same binary size as when built on main.
📖 Linting Aerial with this PR took 0.64 s vs 0.64 s on main (0% slower).
📖 Linting Alamofire with this PR took 0.95 s vs 0.98 s on main (3% faster).
📖 Linting Brave with this PR took 6.05 s vs 6.01 s on main (0% slower).
📖 Linting DuckDuckGo with this PR took 25.45 s vs 25.93 s on main (1% faster).
📖 Linting Firefox with this PR took 10.57 s vs 10.56 s on main (0% slower).
📖 Linting Kickstarter with this PR took 7.3 s vs 7.41 s on main (1% faster).
📖 Linting Moya with this PR took 0.37 s vs 0.39 s on main (5% faster).
📖 Linting NetNewsWire with this PR took 2.36 s vs 2.38 s on main (0% faster).
📖 Linting Nimble with this PR took 0.54 s vs 0.56 s on main (3% faster).
📖 Linting PocketCasts with this PR took 7.01 s vs 6.96 s on main (0% slower).
📖 Linting Quick with this PR took 0.37 s vs 0.33 s on main (12% slower).
📖 Linting Realm with this PR took 2.44 s vs 2.44 s on main (0% slower).
📖 Linting Sourcery with this PR took 1.42 s vs 1.5 s on main (5% faster).
📖 Linting Swift with this PR took 4.29 s vs 4.28 s on main (0% slower).
📖 Linting SwiftLintPerformanceTests with this PR took 0.16 s vs 0.16 s on main (0% slower).
📖 Linting VLC with this PR took 1.15 s vs 1.13 s on main (1% slower).
📖 Linting Wire with this PR took 15.33 s vs 15.35 s on main (0% faster).
📖 Linting WordPress with this PR took 9.8 s vs 9.79 s on main (0% slower).
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/scripts/assets/Swift File For Package.xctemplate/FILEBASENAME.swift:1:3: Warning: Prefer at least one space after slashes for comments (comment_spacing)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/scripts/assets/Swift File For Package.xctemplate/FILEBASENAME.swift:1:1: Warning: Header comments should be consistent with project patterns (file_header)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Package.swift:7:1: Warning: All declarations should specify Access Control Level keywords explicitly (explicit_acl)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Package.swift:7:1: Warning: Top-level declarations should specify Access Control Level keywords explicitly (explicit_top_level_acl)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Package.swift:7:5: Warning: Properties should have a type interface (explicit_type_interface)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Package.swift:1:1: Warning: Header comments should be consistent with project patterns (file_header)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Package.swift:251:14: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Package.swift:256:14: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Package.swift:266:14: Warning: Multiline arguments should have their surrounding brackets in a new line (multiline_arguments_brackets)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Package.swift:7:5: Warning: Top-level constants should be prefixed by k (prefixed_toplevel_constant)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:25:16: Warning: Attributes should be on their own lines in functions and types, but on the same line as variables and imports (attributes)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:25:47: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:28:33: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:35:31: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:36:20: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:41:46: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:43:32: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:44:47: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:47:34: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:53:63: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:55:61: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:57:63: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:59:67: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:61:67: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:63:74: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:64:33: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:65:87: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:66:44: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:67:16: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:73:35: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:75:74: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:76:39: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:120:49: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:121:36: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:122:22: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:133:54: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:134:41: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:135:22: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:144:34: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:146:49: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:147:22: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:74:44: Warning: SwiftLint rule 'cyclomatic_complexity' did not trigger a violation in the disabled region; remove the disable command (superfluous_disable_command)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:145:44: Warning: SwiftLint rule 'cyclomatic_complexity' did not trigger a violation in the disabled region; remove the disable command (superfluous_disable_command)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:35:1: Warning: All declarations should specify Access Control Level keywords explicitly (explicit_acl)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:35:1: Warning: Top-level declarations should specify Access Control Level keywords explicitly (explicit_top_level_acl)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:45:13: Warning: Properties should have a type interface (explicit_type_interface)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:43:1: Warning: Prefer to use extension access modifiers (extension_access_modifier)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:1:1: Warning: Header comments should be consistent with project patterns (file_header)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:25:16: Warning: A 'main_type' should not be placed amongst the file type(s) 'supporting_type' (file_types_order)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:78:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:81:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:37:5: Warning: Variable declarations should be separated from other statements by a blank line (let_var_whitespace)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:44:12: Warning: public declarations should be documented (missing_docs)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:41:1: Warning: Extensions shouldn't be used to group code within the same source file (no_grouping_extension)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:73:1: Warning: Extensions shouldn't be used to group code within the same source file (no_grouping_extension)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:120:1: Warning: Extensions shouldn't be used to group code within the same source file (no_grouping_extension)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:133:1: Warning: Extensions shouldn't be used to group code within the same source file (no_grouping_extension)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:144:1: Warning: Extensions shouldn't be used to group code within the same source file (no_grouping_extension)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:35:1: Warning: Only a single declaration is allowed in a file (one_declaration_per_file)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:64:33: Warning: Use a key path argument instead of a closure with property access (prefer_key_path)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:81:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:83:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:85:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:87:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:89:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:91:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:93:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:95:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:97:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:99:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:101:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:103:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:105:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:107:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:109:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:111:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:113:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:125:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:127:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:138:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:150:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:152:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:154:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:156:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:158:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:160:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:162:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:164:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:166:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:168:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:170:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:172:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:174:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:176:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:178:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/RemoteMessaging/Model/AnyDecodable.swift:180:9: Warning: Include a single empty line between switch cases (vertical_whitespace_between_cases)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:974:101: Warning: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:25:17: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:47:72: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:55:75: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:63:78: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:72:72: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:136:49: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:223:84: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:224:25: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:284:74: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:302:59: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:311:63: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:325:66: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:448:74: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:449:25: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:451:16: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:462:85: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:464:25: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:468:16: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
📖 This PR fixed a violation in DuckDuckGo: /macOS/DuckDuckGo/Common/Localizables/UserText.swift:475:50: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ Danger found 16890 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 135.

Generated by 🚫 Danger

@tomotakatakahashi
tomotakatakahashi marked this pull request as ready for review July 15, 2026 14:56
This commit stops resolving a path to an absolute path in
Configuration.groupFiles. This will resolve the issue mentioned in
comments in realm#6795 that the "excluded" configuration in .swiftlint.yml
is ignored when file paths are passed as arguments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants