-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
superfluous_disable_command not triggering for custom rule #4754
Labels
bug
Unexpected and reproducible misbehavior.
Comments
reopening because the PR that fixed it got reverted |
MartijnAmbagtsheer
pushed a commit
to MartijnAmbagtsheer/SwiftLint
that referenced
this issue
Dec 20, 2023
So I picked this up again the other day, and I think I can see where we were going wrong before ... should have a PR soon |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
New Issue Checklist
Describe the bug
superfluous_disable_command
is not triggering for custom rules. I don't know if this has always been the behavior or if it's a recent regression.Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)? 0.50.3xcodebuild -version
)? 14.0.1echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
to quickly test if your example is really demonstrating the issue. If your example is more
complex, you can use
swiftlint lint --path [file here] --no-cache --enable-all-rules
.The text was updated successfully, but these errors were encountered: