Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,14 @@ mdx = md

[*.{md,mdx}]
BasedOnStyles = Yellow

# Quadrant-specific rules. Off by default; per-folder overlays opt in.
Yellow.NoMetaphor = NO
Yellow.SpecVoice = NO
Yellow.NoNarrative = NO
Yellow.LearnCrossLink = NO
Yellow.ProtocolCrossLink = NO
Yellow.BuildPageShapeTLDR = NO
Yellow.BuildPageShapeStepByStep = NO
Yellow.BuildPageShapeVerify = NO
Yellow.BuildPageShapeNextSteps = NO
2 changes: 1 addition & 1 deletion .vale/styles/Yellow/AISlop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tokens:
- "\\bdelve\\b"
- "\\bleverage\\b"
- "\\bunlock\\b"
- "\\bharness(?:es|ed|ing)?\\b"
- "\\bharness(?:es|ed|ing)?\\s+(?:the|your|its|our|all|this|these|those|every|any)\\b"
- "\\bseamlessly\\b"
- "\\bseamless\\b"
- "\\brobust\\b"
Expand Down
6 changes: 0 additions & 6 deletions .vale/styles/Yellow/BuildPageShape.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .vale/styles/Yellow/BuildPageShapeNextSteps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: occurrence
message: "Build how-to pages must include a '## Next steps' heading."
level: error
scope: raw
token: "(?m)^## Next steps\\b"
min: 1
6 changes: 6 additions & 0 deletions .vale/styles/Yellow/BuildPageShapeStepByStep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: occurrence
message: "Build how-to pages must include a '## Step-by-step' heading."
level: error
scope: raw
token: "(?m)^## Step-by-step\\b"
min: 1
6 changes: 6 additions & 0 deletions .vale/styles/Yellow/BuildPageShapeTLDR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: occurrence
message: "Build how-to pages must include a '## TL;DR' heading."
level: error
scope: raw
token: "(?m)^## TL;DR\\b"
min: 1
6 changes: 6 additions & 0 deletions .vale/styles/Yellow/BuildPageShapeVerify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: occurrence
message: "Build how-to pages must include a '## Verify' heading."
level: error
scope: raw
token: "(?m)^## Verify\\b"
min: 1
6 changes: 0 additions & 6 deletions .vale/styles/Yellow/CrossLink.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .vale/styles/Yellow/LearnCrossLink.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: occurrence
message: "Learn pages must declare 'protocol_link' in frontmatter to point at their Protocol counterpart."
level: error
scope: raw
token: "(?m)^protocol_link:"
min: 1
1 change: 0 additions & 1 deletion .vale/styles/Yellow/NeedBasedLabels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ tokens:
- "\\bnitronode-rpc-overview\\b"
- "\\bsdk-compat-eventpoller\\b"
- "\\bapp-sessions-multi-party\\b"
- "\\b[a-z0-9]+(?:-[a-z0-9]+){2,}\\b"
6 changes: 6 additions & 0 deletions .vale/styles/Yellow/ProtocolCrossLink.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: occurrence
message: "Protocol pages must declare 'learn_link' in frontmatter to point at their Learn counterpart."
level: error
scope: raw
token: "(?m)^learn_link:"
min: 1
Loading