Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SimplyDanny opened this issue Jul 28, 2024 · 0 comments
Open
Assignees
Labels
bug Unexpected and reproducible misbehavior.

Comments

@SimplyDanny
Copy link
Collaborator

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 SimplyDanny added the bug Unexpected and reproducible misbehavior. label Jul 28, 2024
@mildm8nnered mildm8nnered self-assigned this Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected and reproducible misbehavior.
Projects
None yet
Development

No branches or pull requests

2 participants