--only-rule
option doesn't work without a .swiftlint.yml
configuration
#5711
Labels
bug
Unexpected and reproducible misbehavior.
As the title says, when you run for example
swiftlint --only-rule trailing_comma
in a folder that doesn't contain a.swiftlint.yml
configuration file, SwiftLint disregards the--only-rule
option and just runs with the default rule set.The text was updated successfully, but these errors were encountered: