From 0b7186eac839b8690f8951aca4fc2657944ab3b6 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Thu, 12 Oct 2023 14:23:12 +0200 Subject: Add vale --- public/vale/.vale-styles/Google/Periods.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 public/vale/.vale-styles/Google/Periods.yml (limited to 'public/vale/.vale-styles/Google/Periods.yml') diff --git a/public/vale/.vale-styles/Google/Periods.yml b/public/vale/.vale-styles/Google/Periods.yml new file mode 100644 index 0000000..d24a6a6 --- /dev/null +++ b/public/vale/.vale-styles/Google/Periods.yml @@ -0,0 +1,7 @@ +extends: existence +message: "Don't use periods with acronyms or initialisms such as '%s'." +link: 'https://developers.google.com/style/abbreviations' +level: error +nonword: true +tokens: + - '\b(?:[A-Z]\.){3,}' -- cgit v1.2.3