summaryrefslogtreecommitdiff
path: root/public/vale/.vale-styles/Google/Latin.yml
diff options
context:
space:
mode:
Diffstat (limited to 'public/vale/.vale-styles/Google/Latin.yml')
-rw-r--r--public/vale/.vale-styles/Google/Latin.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/public/vale/.vale-styles/Google/Latin.yml b/public/vale/.vale-styles/Google/Latin.yml
new file mode 100644
index 0000000..d91700d
--- /dev/null
+++ b/public/vale/.vale-styles/Google/Latin.yml
@@ -0,0 +1,11 @@
+extends: substitution
+message: "Use '%s' instead of '%s'."
+link: 'https://developers.google.com/style/abbreviations'
+ignorecase: true
+level: error
+nonword: true
+action:
+ name: replace
+swap:
+ '\b(?:eg|e\.g\.)[\s,]': for example
+ '\b(?:ie|i\.e\.)[\s,]': that is