diff --git a/.github/styles/cloudflare-automation/EOLWhitespace.yml b/.github/styles/cloudflare-automation/EOLWhitespace.yml deleted file mode 100644 index 1ed600349a5752..00000000000000 --- a/.github/styles/cloudflare-automation/EOLWhitespace.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: gitlab_base.EOLWhitespace -description: | - Checks that there is no useless whitespace at the end of lines. -extends: existence -message: "Remove whitespace characters from the end of the line." -link: https://docs.gitlab.com/development/documentation/styleguide/ -vocab: false -level: warning -scope: raw -raw: - - ' +\n' diff --git a/.github/styles/cloudflare-automation/ExclamationMarks.yml b/.github/styles/cloudflare-automation/ExclamationMarks.yml deleted file mode 100644 index b4e4a1f7e9aa4c..00000000000000 --- a/.github/styles/cloudflare-automation/ExclamationMarks.yml +++ /dev/null @@ -1,12 +0,0 @@ -extends: existence -message: "Don't use exclamation points in text." -link: "https://developers.google.com/style/exclamation-points" -nonword: true -level: error -action: - name: edit - params: - - trim_right - - "!" -tokens: - - '\w+!(?:\s|$)' diff --git a/.github/styles/cloudflare-automation/HeadingLinks.yml b/.github/styles/cloudflare-automation/HeadingLinks.yml deleted file mode 100644 index 617701811ea4c4..00000000000000 --- a/.github/styles/cloudflare-automation/HeadingLinks.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: gitlab_base.HeadingLink -description: | - Do not include links in a heading. - Headings already have self-referencing anchor links, - and they're used for generating the table of contents. - Adding a link will break the anchor linking behavior. -extends: existence -message: "Do not use links in headings." -vocab: false -level: error -ignorecase: true -nonword: true -link: https://docs.gitlab.com/development/documentation/styleguide/#links -scope: raw -tokens: - - ^#+ .*\[.+\]\(\S+\).*$ diff --git a/.github/styles/cloudflare-automation/HeadingPunctuation.yml b/.github/styles/cloudflare-automation/HeadingPunctuation.yml deleted file mode 100644 index 4954cb11aeb926..00000000000000 --- a/.github/styles/cloudflare-automation/HeadingPunctuation.yml +++ /dev/null @@ -1,13 +0,0 @@ -extends: existence -message: "Don't use end punctuation in headings." -link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods -nonword: true -level: warning -scope: heading -action: - name: edit - params: - - trim_right - - ".?!" -tokens: - - "[a-z][.?!]$" diff --git a/.github/styles/cloudflare-automation/HeadingsSentenceCase.yml b/.github/styles/cloudflare-automation/HeadingsSentenceCase.yml deleted file mode 100644 index abf3b5360609c2..00000000000000 --- a/.github/styles/cloudflare-automation/HeadingsSentenceCase.yml +++ /dev/null @@ -1,28 +0,0 @@ -extends: capitalization -message: "'%s' should use sentence-style capitalization." -link: https://docs.microsoft.com/en-us/style-guide/capitalization -level: suggestion -scope: heading -match: $sentence -indicators: - - ":" -exceptions: - - Azure - - CLI - - Code - - Cosmos - - Docker - - Emmet - - I - - Kubernetes - - Linux - - macOS - - Marketplace - - MongoDB - - REPL - - Studio - - TypeScript - - URLs - - Visual - - VS - - Windows diff --git a/.github/styles/cloudflare-automation/NonStandardQuotes.yml b/.github/styles/cloudflare-automation/NonStandardQuotes.yml deleted file mode 100644 index 36a76b8006cf0c..00000000000000 --- a/.github/styles/cloudflare-automation/NonStandardQuotes.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -# Warning: cloudflare.NonStandardQuotes -# -# Use only standard single and double quotes, not left or right quotes. -# -# For a list of all options, see https://vale.sh/docs/topics/styles/ -extends: existence -message: "Use standard single quotes or double quotes only. Do not use left or right quotes." -level: warning -ignorecase: true -link: https://developers.cloudflare.com/style-guide/grammar/punctuation-marks-and-symbols/quotation-marks/ -scope: raw -raw: - - "[‘’“”]" diff --git a/.github/styles/cloudflare-automation/UnclearAntecedent.yml b/.github/styles/cloudflare-automation/UnclearAntecedent.yml deleted file mode 100644 index 2c8f9e5af70dfb..00000000000000 --- a/.github/styles/cloudflare-automation/UnclearAntecedent.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: gitlab_base.UnclearAntecedent -description: | - Checks for words that need a noun for clarity. -extends: existence -message: "Instead of '%s', try starting this sentence with a specific subject and verb." -link: https://docs.gitlab.com/development/documentation/styleguide/word_list/#this-these-that-those -vocab: false -level: warning -ignorecase: false -tokens: - - "That is" - - "That was" - - "There are" - - "There were" - - "These are" - - "These were" - - "This is" - - "This was" - - "Those are" - - "Those were" diff --git a/.github/styles/cloudflare/Contractions.yml b/.github/styles/cloudflare/Contractions.yml deleted file mode 100644 index 228f0b60c9c3dd..00000000000000 --- a/.github/styles/cloudflare/Contractions.yml +++ /dev/null @@ -1,57 +0,0 @@ ---- -# Error: cloudflare.Contractions -# -# Do not use contractions. -# -# For a list of all options, see https://vale.sh/docs/topics/styles/ - -extends: substitution -message: "Use '%s' instead of '%s'." -link: https://developers.cloudflare.com/style-guide/grammar/parts-of-speech/contractions/ -level: error -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 - 'it''s(?=\.)': it is - - should not: shouldn't - - "that is(?![.,])": that's - 'that''s(?=\.)': that is - - 'they are(?!\.)': they're - 'they''re(?=\.)': they are - - was not: wasn't - - 'we are(?!\.)': we're - 'we''re(?=\.)': we are - - 'we have(?!\.)': we've - 'we''ve(?=\.)': we have - - were not: weren't - - 'what is(?!\.)': what's - 'what''s(?=\.)': what is - - 'when is(?!\.)': when's - 'when''s(?=\.)': when is - - 'where is(?!\.)': where's - 'where''s(?=\.)': where is - - will not: won't diff --git a/.github/styles/cloudflare/InclusiveLanguage.yml b/.github/styles/cloudflare/InclusiveLanguage.yml deleted file mode 100644 index 9bfbb4cc673b8a..00000000000000 --- a/.github/styles/cloudflare/InclusiveLanguage.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- -# Warning: cloudflare.InclusiveLanguage -# -# Suggests alternatives for words that are culturally inappropriate. -# -# For a list of all options, see https://vale.sh/docs/topics/styles/ - -extends: substitution -message: "**Warning**: Use inclusive language. Consider '%s' instead of '%s'." -level: warning -ignorecase: true -swap: - blacklist(?:ed|ing|s)?: denylist - whitelist(?:ed|ing|s)?: allowlist - master: primary, main - slave: secondary - he: they - his: their - she: they - hers: their - sanity (?:check|test): check for completeness - dummy: placeholder, sample, fake diff --git a/.github/styles/cloudflare/LatinTerms.yml b/.github/styles/cloudflare/LatinTerms.yml deleted file mode 100644 index d47be895c5a838..00000000000000 --- a/.github/styles/cloudflare/LatinTerms.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# Warning: cloudflare.LatinTerms -# -# Checks for use of Latin terms. -# Uses https://github.com/errata-ai/Google/blob/master/Google/Latin.yml for ideas. -# -# For a list of all options, see https://vale.sh/docs/topics/styles/ - -extends: substitution -message: "Use '%s' instead of '%s', but consider rewriting the sentence." -link: https://developers.cloudflare.com/style-guide/grammar/parts-of-speech/abbreviations/#ie-vs-eg -level: warning -nonword: true -ignorecase: true -swap: - '\b(?:e\.?g[\s.,;:])': for example - '\b(?:i\.?e[\s.,;:])': that is diff --git a/.github/styles/cloudflare/LinkChecks.yml b/.github/styles/cloudflare/LinkChecks.yml deleted file mode 100644 index 07fa68ecae7b5f..00000000000000 --- a/.github/styles/cloudflare/LinkChecks.yml +++ /dev/null @@ -1,15 +0,0 @@ ---- -# Warning: cloudflare.LinkChecks -# -# Checks for the presence of semantically unhelpful words in link text. -# -# For a list of all options, see https://vale.sh/docs/topics/styles/ -extends: existence -message: "**Warning**: When referring to another page in our docs, use the full relative link (`/1.1.1.1/check/`) instead of the full URL (`https://developers.cloudflare.com/1.1.1.1/check/`) or a local development link (`http://localhost:1111/1.1.1.1/check/`)." -level: warning -ignorecase: true -scope: raw -nonword: true -tokens: - - \[.*\]\(https?:\/\/developers\.cloudflare\.com\/.+\) - - \[.*\]\(https?:\/\/localhost:1111\/.*?\) diff --git a/.github/styles/cloudflare/MeaningfulLinkWords.yml b/.github/styles/cloudflare/MeaningfulLinkWords.yml deleted file mode 100644 index 21f9f566600d26..00000000000000 --- a/.github/styles/cloudflare/MeaningfulLinkWords.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# Warning: cloudflare.MeaningfulLinkWords -# -# Checks for the presence of semantically unhelpful words in link text. -# -# For a list of all options, see https://vale.sh/docs/topics/styles/ -extends: existence -message: "**Warning**: Rewrite the link text for `%s` to be more descriptive. For more information, refer to [Descriptive link text](https://developers.cloudflare.com/style-guide/formatting/structure/links/#descriptive-link-text)." -level: warning -ignorecase: true -scope: raw -nonword: true -tokens: - - \[here\]\(.*\) - - \[this page\]\(.*\) - - \[read more\]\(.*\) diff --git a/.github/styles/cloudflare/MergeConflictMarkers.yml b/.github/styles/cloudflare/MergeConflictMarkers.yml deleted file mode 100644 index 39338d3846ffbc..00000000000000 --- a/.github/styles/cloudflare/MergeConflictMarkers.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -# Error: cloudflare.MergeConflictMarkers -# -# Checks for existence of merge conflict markers that were accidentally committed as changes. -# -# For a list of all options, see https://vale.sh/docs/topics/styles/ - -extends: existence -message: "Merge conflict marker '%s' found. [Address the merge conflict](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts) before merging." -level: error -scope: raw -raw: - - '\n<<<<<<< .+\n|\n=======\n|\n>>>>>>> .+\n' diff --git a/.github/styles/cloudflare/Repetition.yml b/.github/styles/cloudflare/Repetition.yml deleted file mode 100644 index 373b8595f62020..00000000000000 --- a/.github/styles/cloudflare/Repetition.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -# Error: cloudflare.Repetition -# -# Checks for duplicate words, like `the the` or `and and`. -# -# For a list of all options, see https://vale.sh/docs/topics/styles/ -extends: repetition -message: "**Warning**: Remove this duplicate word: '%s'." -level: warning -alpha: true -tokens: - - '[^\s]+' diff --git a/.github/styles/cloudflare/spelling-exceptions.txt b/.github/styles/cloudflare/spelling-exceptions.txt deleted file mode 100644 index 876a1cfdadc4aa..00000000000000 --- a/.github/styles/cloudflare/spelling-exceptions.txt +++ /dev/null @@ -1,382 +0,0 @@ -acls -airtable -agentless -akamai -akamai's -allowlist -allowlists -allowlisted -altus -anonymizer -anycast -apis -approvers -apresia -asn -asns -astro -async -atlassian -automations -backhaul -bing -bitly -blazor -blockchain -bolded -bool -boolean -booleans -breakpoint -broadcasted -brotli -bundler -cacheable -cacheability -captcha -captchas -cas -cdn -cdns -clientless -clis -cloudflared -cloudforce -cidrs -colocation -config -contentful -cPanel -cpus -cron -crowdstrike -crypto -cryptocurrency -Cryptomining -ctx -cyber -cybersafe -databrink -datadog -datastore -ddos -deno -dependabot -descaler -deserialization -deserializing -dev -devtools -Digicert -discoverability -dispositioned -dns -doctype -docusaurus -drand -egressed -egressing -eleventy -enricher -env -equinix -esbuild -etag -etags -ethereum -exfiltrate -exfiltration -failover -fastly -favicon -focusable -formspree -frontmatter -Gemalto -gemfile -geo -geolocate -Glendive -gokeyless -gpus -grafana -gridsome -GSuite -gzip -gzipped -hcaptcha -healthchecks -Heartbleed -hellix -hexo -hibernatable -hono -hostname -hostnames -hsms -HTMLRewriter -http -https -hubspot -hyperdrive -hyperdrives -hypertable -hypertables -iCloud -ingressed -interxion -iterable -iterables -ivanti -iprange -ips -ipsec -jamf -JAMStack -Jetpack -jira -JMeter -journaling -journaled -JSONata -jq -junos -jwts -kentik -keyless -Kibana -Kokoris -koropi -kv -kwai -Kyber -lambda -langchain -licensor -Linux -livestream -llms -lockdown -lowercased -logpull -logpush -logshare -lookback -lookups -loopback -lossy -malvertizing -marseille -maxmind -mbps -megaport -Memcache -meraki -middleware -mimecast -miniflare -misconfigured -mitigations -mixpanel -momento -monorepo -monorepos -monospace -multifactor -nameserver -nameservers -namespace -namespaced -namespaces -nats -Netflow -netlify -netmask -nonces -npm -nShield -nuxt -oauth -offboarding -offramp -okta -onramp -onboarded -onboarding -openssl -pagerduty -pageview -pageviews -passthrough -pathing -pdfs -performant -pfSense -pinecone -plaintext -pnpm -polyfill -polyfills -postgres -preact -preconfigured -preconnect -prefetch -prefetching -preload -prepend -prepended -prepending -prepends -prequeue -prequeueing -prisma -proxied -proxying -Proxyflare -punycode -qradar -qstash -Qualys -quantiles -quic -quickstarts -quora -qwik -railgun -readme -realtime -recaptcha -recommender -redactions -Redsys -referer -repo -revalidated -revalidates -revalidating -rollout -rollup -routable -rubygems -ruleset -rulesets -runtimes -sdk -sdks -Sectigo -serializable -severity -serverless -siems -sFlow -sharding -shortcode -shortcodes -signatureless -sippy -slackbot -snapchat -softflowd -sourcemap -sparkline -splunk -SQLi -ssl -stackable -Storyblok -strapi -stringify -strongswan -stytch -subcommand -subcommands -subfolder -subfolders -subhost -subhosts -submenu -subnet -subnets -subpage -subpages -subpath -subpaths -subreddit -subrequest -subrequests -subshell -substring -sumologic -supabase -svgs -swgs -tcp -teraco -tiering -tls -todo -toolchain -tooltip -tooltips -traceroute -transpile -transpiled -transpiling -ttls -turso -twilio -Ubiquiti -udp -unapplied -uncacheable -uncached -uncategorized -unencrypted -unindexed -unmanaged -unmetered -unoptimized -unproxied -unredacted -unsplash -unscanned -unscoped -upstash -unstyled -untrusted -uppercased -uris -urls -util -utms -waf -waitlist -walkthrough -wasm -wayback -webex -webpack -webpage -webpages -wireguard -wireshark -workerd -www -xata -XPath -vectorize -velocloud -vercel -viewport -vite -vms -vpn -vpns -vue -yubikey -yubikeys -zaraz -zaraz's -zayo -Zscaler diff --git a/.github/styles/config/vocabularies/cloudflare/accept.txt b/.github/styles/config/vocabularies/cloudflare/accept.txt deleted file mode 100644 index 97cc95b1be6f45..00000000000000 --- a/.github/styles/config/vocabularies/cloudflare/accept.txt +++ /dev/null @@ -1,46 +0,0 @@ -anycast -Bitbucket -cdnjs -CLI -Cloudflare -cloudflared -Datadog -GitHub -GitLab -HashiCorp -Hono -HTTP -HTTPS -Internet -IoT -IPsec -JavaScript -Jira -jsDelivr -JSON -JWT -macOS -Next.js -NVIDIA -OAuth -PowerShell -TypeScript -UDP -unpkg -UNIX -URI -URL -Vectorize -WebRTC -WebSocket -Wi-Fi -WordPress -Worker -Workers -[wW]rangler -wrangler.toml -VMware -VPN -YubiKey -Zstandard -Zstd diff --git a/.github/styles/plain-text-style-checks/spelling.md b/.github/styles/plain-text-style-checks/spelling.md deleted file mode 100644 index 5fb8bcc6ba0e7c..00000000000000 --- a/.github/styles/plain-text-style-checks/spelling.md +++ /dev/null @@ -1 +0,0 @@ -Fix spelling errors. diff --git a/.hyperlint/.vale.ini b/.hyperlint/.vale.ini index af1595126d86b2..7cd794f2067eb5 100644 --- a/.hyperlint/.vale.ini +++ b/.hyperlint/.vale.ini @@ -4,7 +4,6 @@ IgnoredScopes = code, tt, img SkippedScopes = script, style, pre, figure, code [formats] -yml = yaml mdx = md [*] @@ -15,6 +14,6 @@ TokenIgnores = (<\/?[A-Z].+>), ([^\n]+=[^\n]*), (\+[^\n]+\+), (http[^\n]+\[), (h BasedOnStyles = Vale, cloudflare, cloudflare-automation Vale.Spelling = NO -[*.yaml] -BasedOnStyles = Vale, cloudflare, cloudflare-automation -Vale.Spelling = NO +[src/content/changelog/*] +BasedOnStyles = Vale +Vale.Spelling = NO \ No newline at end of file diff --git a/.hyperlint/automations/styles/cloudflare-automation/ExclamationMarks.yml b/.hyperlint/automations/styles/cloudflare-automation/ExclamationMarks.yml index b4e4a1f7e9aa4c..8e02d5b3120980 100644 --- a/.hyperlint/automations/styles/cloudflare-automation/ExclamationMarks.yml +++ b/.hyperlint/automations/styles/cloudflare-automation/ExclamationMarks.yml @@ -1,5 +1,5 @@ extends: existence -message: "Don't use exclamation points in text." +message: "Do not use exclamation points in text. Only replace the exclamation point and no other text." link: "https://developers.google.com/style/exclamation-points" nonword: true level: error diff --git a/.hyperlint/automations/styles/cloudflare-automation/HeadingsSentenceCase.yml b/.hyperlint/automations/styles/cloudflare-automation/HeadingsSentenceCase.yml deleted file mode 100644 index abf3b5360609c2..00000000000000 --- a/.hyperlint/automations/styles/cloudflare-automation/HeadingsSentenceCase.yml +++ /dev/null @@ -1,28 +0,0 @@ -extends: capitalization -message: "'%s' should use sentence-style capitalization." -link: https://docs.microsoft.com/en-us/style-guide/capitalization -level: suggestion -scope: heading -match: $sentence -indicators: - - ":" -exceptions: - - Azure - - CLI - - Code - - Cosmos - - Docker - - Emmet - - I - - Kubernetes - - Linux - - macOS - - Marketplace - - MongoDB - - REPL - - Studio - - TypeScript - - URLs - - Visual - - VS - - Windows diff --git a/.hyperlint/automations/styles/cloudflare/Contractions.yml b/.hyperlint/automations/styles/cloudflare/Contractions.yml index 228f0b60c9c3dd..b35e1263496d0d 100644 --- a/.hyperlint/automations/styles/cloudflare/Contractions.yml +++ b/.hyperlint/automations/styles/cloudflare/Contractions.yml @@ -6,52 +6,32 @@ # For a list of all options, see https://vale.sh/docs/topics/styles/ extends: substitution -message: "Use '%s' instead of '%s'." +message: "Do not use contractions. Use '%s' instead of '%s'." link: https://developers.cloudflare.com/style-guide/grammar/parts-of-speech/contractions/ level: error 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 - 'it''s(?=\.)': it is - - should not: shouldn't - - "that is(?![.,])": that's - 'that''s(?=\.)': that is - - 'they are(?!\.)': they're - 'they''re(?=\.)': they are - - was not: wasn't - - 'we are(?!\.)': we're - 'we''re(?=\.)': we are - - 'we have(?!\.)': we've - 'we''ve(?=\.)': we have - - were not: weren't - - 'what is(?!\.)': what's - 'what''s(?=\.)': what is - - 'when is(?!\.)': when's - 'when''s(?=\.)': when is - - 'where is(?!\.)': where's - 'where''s(?=\.)': where is - - will not: won't + aren't: are not + can't: cannot + couldn't: could not + didn't: did not + don't: do not + doesn't: does not + hasn't: has not + haven't: have not + how's: how is + isn't: is not + it's: it is + shouldn't: should not + that's: that is + they're: they are + wasn't: was not + we're: we are + we've: we have + weren't: were not + what's: what is + when's: when is + where's: where is + won't: will not diff --git a/.vale.ini b/.vale.ini deleted file mode 100644 index 9b120719651ca9..00000000000000 --- a/.vale.ini +++ /dev/null @@ -1,20 +0,0 @@ -StylesPath = .github/styles -MinAlertLevel = suggestion -IgnoredScopes = code, tt, img -SkippedScopes = script, style, pre, figure, code - -[formats] -yml = yaml -mdx = md - -[*] -# Ignore code surrounded by plus sign, URLs, parameters defaults, and angle brackets. -TokenIgnores = (<\/?[A-Z].+>), ([^\n]+=[^\n]*), (\+[^\n]+\+), (http[^\n]+\[), (https[^\n]+\[), ([^\n]+@[^\n]+\.[^\n]) - -[*.md] -BasedOnStyles = Vale, cloudflare -Vale.Spelling = NO - -[*.yaml] -BasedOnStyles = Vale, cloudflare -Vale.Spelling = NO \ No newline at end of file