You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added few entries in accept.txt (without ?i to make them case-sensitive/exact match), it works fine and Vale throws error if it's not exact match. However, when I am adding one more entry which is case-insensitive (like (?i)word), Vale stops throwing error on other exact-match entires.
Please have a look at following case:
accept.txt:
PLuG
(?i)GitHub
.vale.ini:
StylesPath = styles
MinAlertLevel = suggestion
Vocab = Base
[formats]
mdx = md
[*.md]
BasedOnStyles = Vale
Vale.Spelling = NO
Vale.Repetition = NO
README.md:
Plug
github
GitHub
The output of Vale is below. However, the expected output is it should give an error for Plug because it is not case-insensitive in accept.txt
Now, I have changed accept.txt as per below and it seems working fine:
PLuG
GitHub
The output of Vale is below.
##Observation
My observation is that if we define any case-insensitive entry all other entires become case-insensitive. This same issue is also found in reject.txt.
The text was updated successfully, but these errors were encountered:
Check for existing issues
Environment
OS: macOS
Install method: Homebrew
Vale Version: 2.29.6
Describe the bug / provide steps to reproduce it
I have added few entries in accept.txt (without ?i to make them case-sensitive/exact match), it works fine and Vale throws error if it's not exact match. However, when I am adding one more entry which is case-insensitive (like (?i)word), Vale stops throwing error on other exact-match entires.
Please have a look at following case:
accept.txt
:.vale.ini
:README.md
:The output of Vale is below. However, the expected output is it should give an error for Plug because it is not case-insensitive in accept.txt
Now, I have changed
accept.txt
as per below and it seems working fine:The output of Vale is below.
##Observation
My observation is that if we define any case-insensitive entry all other entires become case-insensitive. This same issue is also found in reject.txt.
The text was updated successfully, but these errors were encountered: