-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excluded syntax not working anymore in 0.58.0 #5953
Comments
Same here |
Same here too :'( |
What is a typical file path that gets linted while it shouldn't? Please also provide your include and exclude patterns together with the command you are executing (like @dtodereanfourthline did). |
example file path |
I'm affected by this as well. excluded files:
command: What's funny is that I cannot reproduce locally, not sure why - on my machine, the files are properly excluded, but on CI they are not (both cases using 0.58.0 and using same command), so hundreds or warnings are reported there |
My team has just observed that if we add the following syntax, everything works. So this means that most probably wildcards are not working anymore in the latest release.
|
For the time being, I've reverted the change that was causing the regression. File filtering will hopefully work as normal again in 0.58.1. |
Thank you @SimplyDanny |
Thank you! :) |
There you go. |
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.
Mention the command or other SwiftLint integration method that caused the issue. Include stack traces or command output.
Environment
The text was updated successfully, but these errors were encountered: