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
Vale does not report the correct replacement term when the replacement term is the same as the error term with different capitalization.
Example Vale rule that shows this error:
---
extends: substitutionignorecase: falselevel: errormessage: "Use %s rather than %s."action:
name: replaceswap:
Mutual TLS: mutual TLSVNIC: vNIC
Example output:
┌───── ~/vale-test (vale-test-4)
$ vale -v
vale version 3.4.0
┌───── ~/vale-test (vale-test-4)
$ vale .
modules/vale-test.adoc
3:108 error Use 'Mutual TLS' rather than RedHat.Test
Mutual TLS.
5:16 error Use 'VNIC' rather than VNIC. RedHat.Test
✖ 2 errors, 0 warnings and 0 suggestions in 2 files.
Vale CLI and SublimeText + vale-ls both show the error. Clone aireilly/vale-test to replicate:
Check for existing issues
Environment
$ vale -v
vale version 3.4.0
Fedora Linux 39 (Workstation Edition)
Describe the bug / provide steps to reproduce it
Vale does not report the correct replacement term when the replacement term is the same as the error term with different capitalization.
Example Vale rule that shows this error:
Example output:
Vale CLI and SublimeText +
vale-ls
both show the error. Cloneaireilly/vale-test
to replicate:The text was updated successfully, but these errors were encountered: