Skip to content

Commit c915532

Browse files
Update cursor rules glob patterns (#2878)
* Update cursor rules glob patterns * revert change
1 parent 5bc38bd commit c915532

9 files changed

Lines changed: 13 additions & 17 deletions

.cursor/rules/content-types.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Maps folder conventions to Diataxis content types so AI tools produce the right structure for each doc category.
3-
globs: ["**/*.md", "**/*.mdx"]
3+
globs: **/*.md,**/*.mdx
44
alwaysApply: false
55
---
66

.cursor/rules/editorial-voice.mdc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Editorial voice and tone rules aligned with the Microsoft Writing Style Guide and Consensys documentation standards.
3-
globs: ["**/*.md", "**/*.mdx"]
3+
globs: **/*.md,**/*.mdx
44
alwaysApply: false
55
---
66

@@ -44,12 +44,14 @@ The rules below are the most actionable subset for AI-assisted editing.
4444

4545
## Punctuation and formatting
4646

47-
- Do not use em dashes or en dashes. Use commas, parentheses, semicolons, or rephrase the sentence.
47+
- Do not use em dashes (—) to set off extra information. Use commas, parentheses, semicolons, or rephrase the sentence.
4848
- Use only one space after periods, question marks, and colons.
4949
- Use sentence case for all headings and titles. Never use title case.
5050
- Do not end headings, subheadings, or UI titles with periods.
5151
- Use backticks for inline code, file names, and URLs referenced in prose.
52-
- Use bold for UI element names (buttons, menu items, field labels).
52+
- In general, do not use bold to emphasize words in a paragraph. Use bold sparingly:
53+
- For UI element names (buttons, menu items, field labels).
54+
- For emphasis in exceptional cases such as critical security warnings when an admonition is not enough.
5355

5456
## Developer content
5557

.cursor/rules/markdown-formatting.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Markdown formatting conventions for the MetaMask documentation site (Docusaurus).
3-
globs: ["**/*.md", "**/*.mdx"]
3+
globs: **/*.md,**/*.mdx
44
alwaysApply: false
55
---
66

.cursor/rules/product-embedded-wallets.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Product-specific guidance for Embedded Wallets documentation, including naming, content organization, and SDK conventions.
3-
globs: ["embedded-wallets/**/*.md", "embedded-wallets/**/*.mdx"]
3+
globs: embedded-wallets/**/*.md,embedded-wallets/**/*.mdx
44
alwaysApply: false
55
---
66

.cursor/rules/product-metamask-connect.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Product-specific guidance for MetaMask Connect documentation, including terminology, CAIP standards, and content organization.
3-
globs: ["metamask-connect/**/*.md", "metamask-connect/**/*.mdx"]
3+
globs: metamask-connect/**/*.md,metamask-connect/**/*.mdx
44
alwaysApply: false
55
---
66

.cursor/rules/product-services.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Product-specific guidance for Services (Infura) documentation, including naming, reference conventions, and partial reuse.
3-
globs: ["services/**/*.md", "services/**/*.mdx"]
3+
globs: services/**/*.md,services/**/*.mdx
44
alwaysApply: false
55
---
66

.cursor/rules/product-smart-accounts-kit.mdc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
---
22
description: Product-specific guidance for Smart Accounts Kit documentation, including terminology, delegation concepts, glossary/tooltips, and versioning.
3-
globs:
4-
[
5-
'smart-accounts-kit/**/*.md',
6-
'smart-accounts-kit/**/*.mdx',
7-
'src/lib/glossary.json',
8-
'scripts/generate-smart-accounts-glossary.js',
9-
]
3+
globs: smart-accounts-kit/**/*.md,smart-accounts-kit/**/*.mdx,src/lib/glossary.json
104
alwaysApply: false
115
---
126

.cursor/rules/product-snaps.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Product-specific guidance for Snaps documentation, including naming, content areas, and generated-content constraints.
3-
globs: ["snaps/**/*.md", "snaps/**/*.mdx"]
3+
globs: snaps/**/*.md,snaps/**/*.mdx
44
alwaysApply: false
55
---
66

.cursor/rules/terminology.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Required spelling and casing for product names, industry terms, and standards referenced across MetaMask documentation.
3-
globs: ['**/*.md', '**/*.mdx']
3+
globs: **/*.md,**/*.mdx
44
alwaysApply: false
55
---
66

0 commit comments

Comments
 (0)