Skip to content

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

@SimplyDanny

Description

@SimplyDanny

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.

Metadata

Metadata

Assignees

Labels

bugUnexpected and reproducible misbehavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions