Style rule tweaks (#4031)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
parent
2bc05adb72
commit
05af1a190e
|
@ -18,5 +18,5 @@ swap:
|
|||
- 'above table': 'preceding table'
|
||||
- '\d+\.\d+\s+(?:and|or)\s+above': 'later'
|
||||
- '\d+\.\d+\s+(?:and|or)\s+below': 'earlier'
|
||||
- 'below(?!\s+(?:the|this|\d))': 'previous, preceding, or earlier'
|
||||
- 'above(?!\s+(?:the|this|\d))': 'following or later'
|
||||
- 'below(?!\s+(?:the|this|\d))': 'following or later'
|
||||
- 'above(?!\s+(?:the|this|\d))': 'previous, preceding, or earlier'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
extends: substitution
|
||||
message: "Use '%s' instead of '%s'."
|
||||
link: https://github.com/opensearch-project/documentation-website/blob/main/STYLE_GUIDE.md#basic-guidelines
|
||||
ignorecase: true
|
||||
ignorecase: false
|
||||
level: warning
|
||||
nonword: true
|
||||
action:
|
||||
|
@ -9,7 +9,7 @@ action:
|
|||
swap:
|
||||
'\b(?:eg|e\.g\.)[\s,]': for example or such as
|
||||
'\b(?:ie|i\.e\.)[\s,]': that is or specifically
|
||||
'ad hoc': one-time
|
||||
'\b(?:v\.|vs\.|vs|versus)': compared to or compared with
|
||||
'via': using, through, by accessing, or by choosing
|
||||
'vice versa': the other way around
|
||||
'\bad hoc[\s,.]': one-time
|
||||
'\b(?:v\.|vs\.|vs|versus)\s': compared to or compared with
|
||||
'\bvia\s': using, through, by accessing, or by choosing
|
||||
'\bvice versa': the other way around
|
Loading…
Reference in New Issue