Skip to content

Commit

Permalink
Ignore the inline token representing bold emphasis (#321)
Browse files Browse the repository at this point in the history
Means that writers no longer have to worry about spell checking in bold text which is used in our style to represent UI elements which are frequently spelled using non dictionary words.

Signed-off-by: Jack Baldry <[email protected]>
  • Loading branch information
jdbaldry authored Sep 20, 2023
1 parent 5947efd commit f02dc84
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ BasedOnStyles = Google, Grafana
Google.Quotes = NO
Google.Units = NO
Google.WordList = NO
TokenIgnores = (<http[^\n]+>+?)
TokenIgnores = (<http[^\n]+>+?), \*\*[^\n]+\*\*
2 changes: 1 addition & 1 deletion vale/.vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ BasedOnStyles = Google, Grafana
Google.Quotes = NO
Google.Units = NO
Google.WordList = NO
TokenIgnores = (<http[^\n]+>+?)
TokenIgnores = (<http[^\n]+>+?), \*\*[^\n]+\*\*
2 changes: 1 addition & 1 deletion vale/.vale.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'Google.WordList': 'NO',

// https://github.com/errata-ai/vale/issues/288
TokenIgnores: @'(<http[^\n]+>+?)',
TokenIgnores: @'(<http[^\n]+>+?), \*\*[^\n]+\*\*',
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion vale/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ MAKEFLAGS += --no-builtin-rule
.PHONY: help
help: ## Display this help
help:
@awk 'BEGIN {FS = ": ##"; printf "Usage:\n make <target>\n\nTargets:\n"} /^[a-zA-Z0-9_\.\-\/%]+: ##/ { printf " %-45s %s\n", $$1, $$2 }' $(MAKEFILE_LIST)
@awk 'BEGIN {FS = ": ##"; printf "Usage:\n make <target>\n\nTargets:\n"} /^[a-zA-Z0-9_\.\-\/% ]+: ##/ { printf " %-45s %s\n", $$1, $$2 }' $(MAKEFILE_LIST)

PODMAN := $(shell if command -v podman >/dev/null 2>&1; then echo podman; else echo docker; fi)
GIT_ROOT := $(shell git rev-parse --show-toplevel)
Expand Down

0 comments on commit f02dc84

Please sign in to comment.