-
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
Superfluous Disable Command Violation buggy #1810
Comments
I'm getting the same thing. This was working in 0.21.0 |
I've opened #1816 that should fix the issue. It'd be awesome if some of you could try it. |
I managed to compile #1816 and the incorrect error is indeed not displayed anymore. However, to compile #1816 I had to modify the Yams projects (in Carthage/Checkouts/Yams and Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Yams) to not run swiftlint because with SwiftLint 0.22 installed, an error stopped the build:
|
Thanks for looking at this! It appears to be working for our project. I noticed that the Does |
@danj-stripe You're right, |
Of course, my mistake! |
New Issue Checklist
Bug Report
Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)?xcode-select -p
)?If I remove the line with the disable command as told I do get a warning, meaning that the
disable
was not superfluous:The text was updated successfully, but these errors were encountered: