-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
SwiftLint is picking the wrong configuration #1744
Comments
If you need any more info, I'm seeing this too. Specifically the configuration that's being picked is pointing to your home directory.
|
@mergesort Thanks for the info. This indeed would happen with this bug. Could you try using #1745 to see if the issue still persists? |
Are you sure you are not using Since
This would all make a lot of sense, but not if the bug really was already there in 0.21.0. I noted a bunch of related merging bugs and quirks in the notes for #1748 (and dealt with some of them during the refactor). Maybe some of that information will be useful. |
Yes. |
Hmm... all very strange. But I guess that is the nature of bugs. [sigh] |
I have a
.swiftlint.yml
that I've used to reproduce #1586 on my home folder. When runningswiftlint
inside a subdirectory (that has a configuration file), it's loading the configuration from my home dir.This happens even if I use
--config
. Tested with 0.21.0.This only happens when using
--path
. And the weird thing is that SwiftLint even prints that it's using the right configuration:The text was updated successfully, but these errors were encountered: