constellation/docs/styles/Microsoft/Foreign.yml

14 lines
368 B
YAML
Raw Normal View History

2022-09-02 05:52:42 -04:00
extends: substitution
message: "Use '%s' instead of '%s'."
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-us-spelling-avoid-non-english-words
ignorecase: true
level: error
nonword: true
action:
name: replace
swap:
'\b(?:eg|e\.g\.)[\s,]': for example
'\b(?:ie|i\.e\.)[\s,]': that is
2024-01-23 11:19:53 -05:00
'\b(?:viz\.)[\s,]': namely
'\b(?:ergo)[\s,]': therefore