Skip to content

Fix excluded paths in nested configurations - #6876

Open
catlover-bot wants to merge 1 commit into
realm:mainfrom
catlover-bot:fix-nested-config-excluded-paths
Open

Fix excluded paths in nested configurations#6876
catlover-bot wants to merge 1 commit into
realm:mainfrom
catlover-bot:fix-nested-config-excluded-paths

Conversation

@catlover-bot

Copy link
Copy Markdown

Summary

Fix excluded paths in nested configurations being resolved twice.

Relative excluded paths are already resolved against the configuration file location during parsing. groupFiles was resolving those paths against the configuration root a second time, which could turn SubFolder/testFile.swift into SubFolder/SubFolder/testFile.swift when SwiftLint was run from the parent directory.

The fix uses the already-resolved excludedPaths directly when determining whether a file should be skipped.

Regression test

Added coverage with a nested configuration containing:

  • testFile.swift, which must be excluded
  • includedFile.swift, which must remain lintable

The regression test fails with the unmodified implementation because the excluded file remains lintable, and passes with this fix.

Validation

  • Targeted nestedConfigurationExcludesRelativePath regression test: passed
  • make spm_test: 1089 tests in 374 suites passed
  • make bazel_test: 18/18 test targets passed
  • swift run swiftlint lint --strict: 0 violations in 709 files
  • make: passed
  • Manual CLI reproduction: only includedFile.swift was linted

Closes #4765

@SwiftLintBot

Copy link
Copy Markdown
17464 Messages
📖 Building this branch resulted in the same binary size as when built on main.
📖 Linting Aerial with this PR took 0.68 s vs 0.68 s on main (0% slower).
📖 Linting Alamofire with this PR took 0.98 s vs 0.97 s on main (1% slower).
📖 Linting Brave with this PR took 6.32 s vs 6.34 s on main (0% faster).
📖 Linting Brigade with this PR took 18.21 s vs 18.06 s on main (0% slower).
📖 Linting DuckDuckGo with this PR took 29.07 s vs 29.34 s on main (0% faster).
📖 Linting Firefox with this PR took 11.31 s vs 11.27 s on main (0% slower).
📖 Linting Kickstarter with this PR took 7.31 s vs 7.31 s on main (0% slower).
📖 Linting Moya with this PR took 0.38 s vs 0.38 s on main (0% slower).
📖 Linting NetNewsWire with this PR took 2.52 s vs 2.53 s on main (0% faster).
📖 Linting Nimble with this PR took 0.56 s vs 0.55 s on main (1% slower).
📖 Linting PocketCasts with this PR took 7.35 s vs 7.33 s on main (0% slower).
📖 Linting Quick with this PR took 0.36 s vs 0.37 s on main (2% faster).
📖 Linting Realm with this PR took 2.99 s vs 2.97 s on main (0% slower).
📖 Linting Sourcery with this PR took 1.53 s vs 1.61 s on main (4% faster).
📖 Linting Swift with this PR took 4.51 s vs 4.51 s on main (0% slower).
📖 Linting SwiftLintPerformanceTests with this PR took 0.18 s vs 0.18 s on main (0% slower).
📖 Linting VLC with this PR took 1.31 s vs 1.31 s on main (0% slower).
📖 Linting Wire with this PR took 16.31 s vs 16.31 s on main (0% slower).
📖 Linting WordPress with this PR took 10.31 s vs 10.32 s on main (0% faster).
📖 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:1087: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:49:69: 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:58: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:66: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:74: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:83: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:92:70: 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:95:70: 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:99:68: 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:158: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:245: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:246: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:306: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:324: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:333: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:347: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:472: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:473: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:475:16: Warning: Opening brace should be on a separate line (contrasted_opening_brace)
⚠️ Danger found 17464 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 136.

Generated by 🚫 Danger

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.

Excluded paths in nested configurations seem to resolve to invalid paths

2 participants