Skip to content

Excluded syntax not working anymore in 0.58.0 #5953

@dtodereanfourthline

Description

@dtodereanfourthline

New Issue Checklist

Bug Description

We are using swiftlint in our project for years. In the .swiftlint.yml file we were excluding some folders.
In the latest release this doesn't work anymore and swiftlint tries to correct all files from the ThirdParty folders.

excluded:
  - "ThirdParty/**"
  - "*/ThirdParty/**"
  - "**/ThirdParty/**"

Mention the command or other SwiftLint integration method that caused the issue. Include stack traces or command output.

  swiftlint --fix --config "../.swiftlint.yml"
  swiftlint --no-cache --config "../.swiftlint.yml"

Environment

  • SwiftLint version: 0.58.0
  • Xcode version: Xcode 16.2 Build version 16C5013f
  • Installation method used: Homebrew
  • Configuration file:
excluded:
  - "ThirdParty/**"
  - "*/ThirdParty/**"
  - "**/ThirdParty/**"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions