superfluous_disable
triggers for non existent rule names when swiftlint:disable all
is in effect
#4788
Labels
bug
Unexpected and reproducible misbehavior.
New Issue Checklist
Describe the bug
A clear and concise description of what the bug is.
No rules should be enabled, but
superfluous_disable
will still fire withSuperfluous Disable Command Violation: 'non_existent_rule_name' is not a valid SwiftLint rule; remove it from the disable command (superfluous_disable_command)
Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)? 0.50.3none
If so, paste their relative paths and respective contents.
no
xcodebuild -version
)?Xcode 14.2
Build version 14C18
echo "[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: