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/LyHyphens.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 public/vale/.vale-styles/Google/LyHyphens.yml (limited to 'public/vale/.vale-styles/Google/LyHyphens.yml') diff --git a/public/vale/.vale-styles/Google/LyHyphens.yml b/public/vale/.vale-styles/Google/LyHyphens.yml new file mode 100644 index 0000000..ac8f557 --- /dev/null +++ b/public/vale/.vale-styles/Google/LyHyphens.yml @@ -0,0 +1,14 @@ +extends: existence +message: "'%s' doesn't need a hyphen." +link: 'https://developers.google.com/style/hyphens' +level: error +ignorecase: false +nonword: true +action: + name: edit + params: + - replace + - '-' + - ' ' +tokens: + - '\s[^\s-]+ly-' -- cgit v1.2.3