Skip to content

Commit 007e0a2

Browse files
authored
Rework hyperlint checks to plain text (#22304)
* partial * Tweaks * update
1 parent d8ea07b commit 007e0a2

File tree

15 files changed

+35
-486
lines changed

15 files changed

+35
-486
lines changed

.hyperlint/.vale.ini

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
StylesPath = automations/styles
22
MinAlertLevel = suggestion
3-
IgnoredScopes = code, tt, img
4-
SkippedScopes = script, style, pre, figure, code
3+
CommentDelimiters = {/*, */}
54

65
[formats]
76
mdx = md
87

9-
[*]
10-
# Ignore code surrounded by plus sign, URLs, parameters defaults, and angle brackets.
11-
TokenIgnores = (<\/?[A-Z].+>), ([^\n]+=[^\n]*), (\+[^\n]+\+), (http[^\n]+\[), (https[^\n]+\[), ([^\n]+@[^\n]+\.[^\n])
12-
13-
[src/content/docs/fundamentals/*]
14-
BasedOnStyles = Vale, cloudflare, cloudflare-automation
8+
[*/content/{docs,partials}/*.md]
9+
BasedOnStyles = Vale, cloudflare
1510
Vale.Spelling = NO
1611

17-
[src/content/partials/fundamentals/*]
18-
BasedOnStyles = Vale, cloudflare, cloudflare-automation
19-
Vale.Spelling = NO
12+
[src/content/{docs,partials}/{agents,autorag,email-routing,pipelines,pub-sub,queues,realtime,support,workflows}/*]
13+
BasedOnStyles = Vale
14+
Vale.Spelling = NO
15+
Vale.Terms = NO

.hyperlint/automations/styles/cloudflare-automation/EOLWhitespace.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.hyperlint/automations/styles/cloudflare-automation/ExclamationMarks.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.hyperlint/automations/styles/cloudflare-automation/HeadingLinks.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.hyperlint/automations/styles/cloudflare-automation/HeadingPunctuation.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.hyperlint/automations/styles/cloudflare-automation/NonStandardQuotes.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.hyperlint/automations/styles/cloudflare-automation/UnclearAntecedent.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)