SwiftLint
SwiftLint copied to clipboard
`--only-rule` option doesn't work without a `.swiftlint.yml` configuration
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.