-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
Command No Longer Finding Configured .vale.ini File #955
Comments
I also tried |
I don't think the issue is finding the config file; I'd guess it's related to 992fddb. Can you share the errors you're seeing and the relevant vocab entries? |
I ran into this as well. I think the issue is that the # Ignore all files in the doxygen-awesome-css directory.
[*doxygen-awesome-css/*]
BasedOnStyles =
# Ignore all files in the proselint directory.
[*proselint/*]
BasedOnStyles = part of the configuration is no longer applied, so we now get spelling issues that were suppressed before. |
Reproducer: $ cat .vale.ini
[*.md]
BasedOnStyles = Vale
[exclude.md]
BasedOnStyles =
$ cat a.md
Joblint
$ cat exclude.md
Joblint
$ vale --version
vale version 3.9.1
$ vale .
a.md
1:1 error Did you really mean 'Joblint'? Vale.Spelling
✖ 1 error, 0 warnings and 0 suggestions in 2 files.
$ ~/.local/bin/vale --version
vale version 3.9.4
$ ~/.local/bin/vale .
exclude.md
1:1 error Did you really mean 'Joblint'? Vale.Spelling
a.md
1:1 error Did you really mean 'Joblint'? Vale.Spelling
✖ 2 errors, 0 warnings and 0 suggestions in 2 files. |
This should allow us to work around errata-ai/vale#955 and also produce more consistent results over time.
@PigeonF: Thanks for the repro steps. It will be fixed in the next release. |
@PigeonF, well in addition to it finding problems in the doxygen submodule, it also flagged a lot of my variables and objects in code which should have been handled by:
I don't think it is using my vale.ini file at all. @jdkato, let me know if you still need to see error messages (I had a ton). It sounds to me like you got enough info from @PigeonF. |
@saltorre, I think you may be describing a different issue. It would help to see the output as well as your vocabulary. |
Check for existing issues
Environment
Windows.
Installed via Docker.
Vale Version: v3.9.3 to v.3.9.4
Describe the bug / provide steps to reproduce it
I have been storing my .vale.ini file in a directory called .vale/. My CI/CD picked up the latest version (v3.9.4) tonight and failed because it appears as if it can't find my .vale.ini file. It is flagging code for spelling errors. To confirm the errors, I pulled v3.9.4 locally. I then reverted back to v3.9.3 and I had no errors found. I did not see in the Release Notes for v.3.9.4 or in the Docs/vale-ini what breaking API changes may have occurred.
Here is the command I use:
Here is my .vale.ini file:
The text was updated successfully, but these errors were encountered: