-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
[Bug]: --config flag does not work #4750
Comments
Thank you for the excellent example. CSpell will search for the nearest CSpell config file for every file checked. Please try: echo '{"noConfigSearch": true}' > cspell.temp.json |
Ah, that does work, thank you. I propose that the |
@Jason3S any update on this? |
I don't think it is a good idea to change the behavior. Although I see how its current behavior was unexpected. The original idea, was the local config has more knowledge of the files being checked than a global config. This allows for things like specifying the language. For example:
At the root:
But by automatically turning on
Even though both invocations of I propose added two new options:
|
Sounds good, thank you! |
I'm going to close this, since #4836 will take care of the remaining issue. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Info
Kind of Issue
Which Tool or library
Which Version
Version: 7.0.1
Issue with supporting library?
OS:
version:
10
Bug Description
Describe the bug
The
--config
command line flag does not work.To Reproduce
Steps to reproduce the behavior:
Here, CSpell seems to ignore the
--config
flag and instead use the config at the default path. So maybe we need to turn off the "find default config" logic when the--config
flag is specified?The text was updated successfully, but these errors were encountered: