Style rule tweaks (#4031)

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
kolchfa-aws 2023-05-08 11:55:40 -04:00 committed by GitHub
parent 2bc05adb72
commit 05af1a190e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -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'

View File

@ -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