From d8957b63004d84e463d00af46db5114dca6b5276 Mon Sep 17 00:00:00 2001 From: Max Clayton Clowes Date: Tue, 16 Dec 2025 12:05:29 +0000 Subject: [PATCH] Fixing merge conflict arttifacts --- .vale/styles/Google/AMPM.yml | 9 + .vale/styles/Google/Acronyms.yml | 64 +++++++ .vale/styles/Google/Colons.yml | 8 + .vale/styles/Google/Contractions.yml | 30 ++++ .vale/styles/Google/DateFormat.yml | 9 + .vale/styles/Google/Ellipses.yml | 9 + .vale/styles/Google/EmDash.yml | 13 ++ .vale/styles/Google/Exclamation.yml | 12 ++ .vale/styles/Google/FirstPerson.yml | 13 ++ .vale/styles/Google/Gender.yml | 9 + .vale/styles/Google/GenderBias.yml | 43 +++++ .vale/styles/Google/HeadingPunctuation.yml | 13 ++ .vale/styles/Google/Headings.yml | 29 ++++ .vale/styles/Google/Latin.yml | 11 ++ .vale/styles/Google/LyHyphens.yml | 14 ++ .vale/styles/Google/OptionalPlurals.yml | 12 ++ .vale/styles/Google/Ordinal.yml | 7 + .vale/styles/Google/OxfordComma.yml | 7 + .vale/styles/Google/Parens.yml | 7 + .vale/styles/Google/Passive.yml | 184 +++++++++++++++++++++ .vale/styles/Google/Periods.yml | 7 + .vale/styles/Google/Quotes.yml | 7 + .vale/styles/Google/Ranges.yml | 7 + .vale/styles/Google/Semicolons.yml | 8 + .vale/styles/Google/Slang.yml | 11 ++ .vale/styles/Google/Spacing.yml | 10 ++ .vale/styles/Google/Spelling.yml | 10 ++ .vale/styles/Google/Units.yml | 8 + .vale/styles/Google/We.yml | 11 ++ .vale/styles/Google/Will.yml | 7 + .vale/styles/Google/WordList.yml | 80 +++++++++ .vale/styles/Google/meta.json | 4 + .vale/styles/Google/vocab.txt | 0 package.json | 2 +- 34 files changed, 674 insertions(+), 1 deletion(-) create mode 100644 .vale/styles/Google/AMPM.yml create mode 100644 .vale/styles/Google/Acronyms.yml create mode 100644 .vale/styles/Google/Colons.yml create mode 100644 .vale/styles/Google/Contractions.yml create mode 100644 .vale/styles/Google/DateFormat.yml create mode 100644 .vale/styles/Google/Ellipses.yml create mode 100644 .vale/styles/Google/EmDash.yml create mode 100644 .vale/styles/Google/Exclamation.yml create mode 100644 .vale/styles/Google/FirstPerson.yml create mode 100644 .vale/styles/Google/Gender.yml create mode 100644 .vale/styles/Google/GenderBias.yml create mode 100644 .vale/styles/Google/HeadingPunctuation.yml create mode 100644 .vale/styles/Google/Headings.yml create mode 100644 .vale/styles/Google/Latin.yml create mode 100644 .vale/styles/Google/LyHyphens.yml create mode 100644 .vale/styles/Google/OptionalPlurals.yml create mode 100644 .vale/styles/Google/Ordinal.yml create mode 100644 .vale/styles/Google/OxfordComma.yml create mode 100644 .vale/styles/Google/Parens.yml create mode 100644 .vale/styles/Google/Passive.yml create mode 100644 .vale/styles/Google/Periods.yml create mode 100644 .vale/styles/Google/Quotes.yml create mode 100644 .vale/styles/Google/Ranges.yml create mode 100644 .vale/styles/Google/Semicolons.yml create mode 100644 .vale/styles/Google/Slang.yml create mode 100644 .vale/styles/Google/Spacing.yml create mode 100644 .vale/styles/Google/Spelling.yml create mode 100644 .vale/styles/Google/Units.yml create mode 100644 .vale/styles/Google/We.yml create mode 100644 .vale/styles/Google/Will.yml create mode 100644 .vale/styles/Google/WordList.yml create mode 100644 .vale/styles/Google/meta.json create mode 100644 .vale/styles/Google/vocab.txt diff --git a/.vale/styles/Google/AMPM.yml b/.vale/styles/Google/AMPM.yml new file mode 100644 index 000000000..37b49edf8 --- /dev/null +++ b/.vale/styles/Google/AMPM.yml @@ -0,0 +1,9 @@ +extends: existence +message: "Use 'AM' or 'PM' (preceded by a space)." +link: "https://developers.google.com/style/word-list" +level: error +nonword: true +tokens: + - '\d{1,2}[AP]M\b' + - '\d{1,2} ?[ap]m\b' + - '\d{1,2} ?[aApP]\.[mM]\.' diff --git a/.vale/styles/Google/Acronyms.yml b/.vale/styles/Google/Acronyms.yml new file mode 100644 index 000000000..f41af0189 --- /dev/null +++ b/.vale/styles/Google/Acronyms.yml @@ -0,0 +1,64 @@ +extends: conditional +message: "Spell out '%s', if it's unfamiliar to the audience." +link: 'https://developers.google.com/style/abbreviations' +level: suggestion +ignorecase: false +# Ensures that the existence of 'first' implies the existence of 'second'. +first: '\b([A-Z]{3,5})\b' +second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)' +# ... with the exception of these: +exceptions: + - API + - ASP + - CLI + - CPU + - CSS + - CSV + - DEBUG + - DOM + - DPI + - FAQ + - GCC + - GDB + - GET + - GPU + - GTK + - GUI + - HTML + - HTTP + - HTTPS + - IDE + - JAR + - JSON + - JSX + - LESS + - LLDB + - NET + - NOTE + - NVDA + - OSS + - PATH + - PDF + - PHP + - POST + - RAM + - REPL + - RSA + - SCM + - SCSS + - SDK + - SQL + - SSH + - SSL + - SVG + - TBD + - TCP + - TODO + - URI + - URL + - USB + - UTF + - XML + - XSS + - YAML + - ZIP diff --git a/.vale/styles/Google/Colons.yml b/.vale/styles/Google/Colons.yml new file mode 100644 index 000000000..4a027c307 --- /dev/null +++ b/.vale/styles/Google/Colons.yml @@ -0,0 +1,8 @@ +extends: existence +message: "'%s' should be in lowercase." +link: 'https://developers.google.com/style/colons' +nonword: true +level: warning +scope: sentence +tokens: + - '(?=1.0.0" +} diff --git a/.vale/styles/Google/vocab.txt b/.vale/styles/Google/vocab.txt new file mode 100644 index 000000000..e69de29bb diff --git a/package.json b/package.json index 0487cc1b3..07be77907 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "format:js:check": "prettier --check \"**/*.{js,jsx,ts,tsx}\"", "format:mdx": "prettier --write \"**/*.{md,mdx}\"", "format:mdx:check": "prettier --check \"**/*.{md,mdx}\"", - "links:check": "linkinator ./build --recurse --verbosity error --skip \".*github.*|.*localhost.*\"" + "links:check": "linkinator ./build --recurse --verbosity error --skip \".*github.*|.*localhost.*\"", "vale:sync": "vale sync", "vale": "vale docs/", "vale:check": "vale --minAlertLevel=warning docs/"