Closed natalia-laptieva closed 1 month ago
This behavior has been moved behind the capitalize
key:
# Will attempt to match capitalization of original token.
capitalize: true
The reasoning for this is that it's undesirable in any case with a fixed capitalization style (such as "iOS" or "JavaScript").
Check for existing issues
Environment
v3.4.1 in Vale Studio v3.4.2 in IDE (WebStorm), macOS, Vale installed with Homebrew
Describe the bug / provide steps to reproduce it
When I use the
extends: substitution
extension point with theignorecase: true
parameter, I expect that if I specify a word in lowercase, the matched word is corrected with lowercase and the same with uppercase. For example,e-mail
will be replaced withemail
andE-mail
withEmail
accordingly.This is how it worked before (can't specify the version):
Now, it doesn't work like that, so
Example with Microsoft rules:
E-mail
is to be replaced withemail
, and the corresponding tests are failing:The same behavior in the IDE with v3.4.2.