errata-ai / Microsoft

A Vale-compatible implementation of the Microsoft Writing Style Guide.
https://github.com/errata-ai/vale
MIT License
85 stars 46 forks source link

Microsoft.Headings "sentence-style capitalization" for brands with hyphen #39

Closed BenRoe closed 8 months ago

BenRoe commented 2 years ago

Hello, i have a heading like Build guide for the Plaid-Pad and added the Plaid-Pad to my accept.txt, but the suggestion is still triggered. How can i avoid that, without disabling the Headings rule?

jdkato commented 2 years ago

This is https://github.com/errata-ai/vale/issues/346. As a workaround, you could:

JamesDuff2021 commented 1 year ago

Hello! I have a similar problem. We've been working on a Vale rule that enforces sentence style capitalization. We have included a few exceptions for some proper nouns that we use. Everything seems to be working well, except for some terms with hyphens. Here is the rule: extends: capitalization message: "'%s' should use sentence-style capitalization." level: warning match: $sentence threshold: 0.9 exceptions:

jdkato commented 8 months ago

This should be fixed in newer versions of Vale.