-
-
Notifications
You must be signed in to change notification settings - Fork 170
Closed
Labels
Description
Check for existing issues
- Completed
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:
- name: Run Vale Linter
run: |
docker run --rm -i \
-v ${{ github.workspace }}:/repo \
-w /repo \
jdkato/vale --config=.vale/.vale.ini .
Here is my .vale.ini file:
# Configuration for Vale, a syntax-aware linter for prose.
# Location of the Vale styles directory:
StylesPath = styles
# Minimum alert level to display (suggestion, warning, or error):
MinAlertLevel = suggestion
# List of third party styles to use:
Packages = proselint
# Custom vocabulary directory located in `config/vocabularies` for Spelling
Vocab = spoores
# Ignore repetition in msp430fr5964.h to remove false positives.
[*SpooresLeakValve/test/unit-tests/mocks/include/msp430fr5964.h]
Vale.Repetition = NO
# This section applies to all Markdown files.
[*.{md}]
BasedOnStyles = Vale, proselint, custom
# This section applies to all C,C++, and Python files.
[*.{h,c,cpp,.py}]
BasedOnStyles = Vale, proselint, custom
# Disabling Typography rule for C and H files to prevent false positives
# on hexadecimal literals (e.g., 0x45), which are mistakenly flagged as
# multiplication expressions by Proselint.
proselint.Typography = NO
# Disabling DateSpacing rule for C and H files to prevent false positives
# on variables that appear to contain times like P2PMgr appears to have 2 PM.
proselint.DateSpacing = NO
# Ignore Annotations (Tasks) because there is a custom rule for them.
proselint.Annotations = No
# Disable Spelling for C and H files to prevent false positives on
# variable names and function names. Spelling handled by custom Spelling.yml.
Vale.Spelling = NO
# Ignore all files in the doxygen-awesome-css directory.
[*doxygen-awesome-css/*]
BasedOnStyles =
# Ignore all files in the proselint directory.
[*proselint/*]
BasedOnStyles =
PigeonF and yorickpeterse