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