SwiftLint icon indicating copy to clipboard operation
SwiftLint copied to clipboard

`--only-rule` option doesn't work without a `.swiftlint.yml` configuration

Open SimplyDanny opened this issue 1 year ago • 0 comments

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.

SimplyDanny avatar Jul 28 '24 17:07 SimplyDanny