Skip to content

Commit b579513

Browse files
[docs-infra] Improve Vale config
1 parent 98a08c9 commit b579513

File tree

10 files changed

+11
-10
lines changed

10 files changed

+11
-10
lines changed

.vale.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ StylesPath = .github/styles
33
MinAlertLevel = warning
44

55
# The docs/mui-vale.zip is generated by `pnpm docs:zipRules`
6-
Packages = Google,docs/mui-vale.zip
6+
Packages = Google, docs/mui-vale.zip
77

88
[*.md]
99
# Ignore code injections that start with {{...

docs/data/base/components/badge/badge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ You may not need to use hooks unless you find that you're limited by the customi
9999

100100
:::info
101101
The following features can be used with both components and hooks.
102-
For the sake of simplicity, demos and code snippets primarily feature components.
102+
For the sake of simplicity, demos, and code snippets primarily feature components.
103103
:::
104104

105105
### Badge content

docs/data/base/components/button/button.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Do not add the `ref` parameter to the button element manually, as the correct re
115115

116116
:::info
117117
The following features can be used with both components and hooks.
118-
For the sake of simplicity, demos and code snippets primarily feature components.
118+
For the sake of simplicity, demos, and code snippets primarily feature components.
119119
:::
120120

121121
### Custom elements

docs/data/base/components/form-control/form-control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Learn more about controlled and uncontrolled components in the [React documentat
9797

9898
:::info
9999
The following features can be used with both components and hooks.
100-
For the sake of simplicity, demos and code snippets primarily feature components.
100+
For the sake of simplicity, demos, and code snippets primarily feature components.
101101
:::
102102

103103
### Accessing the form control state

docs/data/base/components/input/input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The demo below shows how to use the `useInput` hook to create a custom input com
105105

106106
:::info
107107
The following features can be used with both components and hooks.
108-
For the sake of simplicity, demos and code snippets primarily feature components.
108+
For the sake of simplicity, demos, and code snippets primarily feature components.
109109
:::
110110

111111
### Adornments

docs/data/base/components/menu/menu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ The `useMenuItemContextStabilizer` hook ensures that the context value changes o
166166

167167
:::info
168168
The following features can be used with both components and hooks.
169-
For the sake of simplicity, demos and code snippets primarily feature components.
169+
For the sake of simplicity, demos, and code snippets primarily feature components.
170170
:::
171171

172172
### Wrapping Menu Items

docs/data/base/components/select/select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ The `useOptionContextStabilizer` hook ensures that the context value changes onl
242242

243243
:::info
244244
The following features can be used with both components and hooks.
245-
For the sake of simplicity, demos and code snippets primarily feature components.
245+
For the sake of simplicity, demos, and code snippets primarily feature components.
246246
:::
247247

248248
### Selected value appearance

docs/data/base/components/snackbar/snackbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ You may not need to use hooks unless you find that you're limited by the customi
109109

110110
:::info
111111
The following features can be used with both components and hooks.
112-
For the sake of simplicity, demos and code snippets primarily feature components.
112+
For the sake of simplicity, demos, and code snippets primarily feature components.
113113
:::
114114

115115
### Transitions

docs/mui-vale.zip

23 Bytes
Binary file not shown.

docs/mui-vale/styles/MUI/CorrectReferenceAllCases.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ ignorecase: true
66
# swap maps tokens in form of bad: good
77
# for more information: https://vale.sh/docs/topics/styles/#substitution
88
swap:
9-
api: API
9+
' api': API
1010
typescript: TypeScript
11-
ts: TypeScript
11+
' ts': TypeScript
12+
' js': JavaScript
1213
javascript: JavaScript
1314
' css ': CSS
1415
' html ': HTML

0 commit comments

Comments
 (0)