redhat-documentation / vale-at-red-hat

Vale config files, styles, and docs to help individuals and teams roll out Vale
https://redhat-documentation.github.io/vale-at-red-hat/
MIT License
38 stars 58 forks source link

Fix the incorrect `CaseSensitiveTerms.yml` error #520

Open gaurav-nelson opened 1 year ago

gaurav-nelson commented 1 year ago

Describe the bug Because of https://github.com/redhat-documentation/vale-at-red-hat/blob/main/.vale/styles/RedHat/CaseSensitiveTerms.yml#L249 I get an error for a title that starts with the word Analysis

To Reproduce

  1. Use a section title called Analysis and detection
  2. Vale reports an error. Use 'SmartState analysis' rather than 'Analysis'.

Expected behavior I think we should remove the word Analysis form that rule and make it Smart State|smart state|Smart state|Smartstate: SmartState analysis instead.

rohennes commented 3 weeks ago

image Analysis at the start of a sentence is still flagging.

aireilly commented 3 weeks ago
Smart State|smart state|Smart state|Smartstate Analysis: SmartState analysis

is the fix I think.