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/Contractions.yml | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 public/vale/.vale-styles/Google/Contractions.yml (limited to 'public/vale/.vale-styles/Google/Contractions.yml') diff --git a/public/vale/.vale-styles/Google/Contractions.yml b/public/vale/.vale-styles/Google/Contractions.yml new file mode 100644 index 0000000..9523498 --- /dev/null +++ b/public/vale/.vale-styles/Google/Contractions.yml @@ -0,0 +1,30 @@ +extends: substitution +message: "Feel free to use '%s' instead of '%s'." +link: 'https://developers.google.com/style/contractions' +level: suggestion +ignorecase: true +action: + name: replace +swap: + are not: aren't + cannot: can't + could not: couldn't + did not: didn't + do not: don't + does not: doesn't + has not: hasn't + have not: haven't + how is: how's + is not: isn't + it is: it's + should not: shouldn't + that is: that's + they are: they're + was not: wasn't + we are: we're + we have: we've + were not: weren't + what is: what's + when is: when's + where is: where's + will not: won't -- cgit v1.2.3