Skip to content

Commit f4a9848

Browse files
[docs-infra] Fix Vale config for TypeScript references (#43751)
1 parent bbbcac8 commit f4a9848

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/data/material/migration/upgrade-to-v6/migrating-to-pigment-css.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Finally, update the `typography.fontFamily` value with the variable created in t
255255
};
256256
```
257257

258-
### Typescript
258+
### TypeScript
259259

260260
If you are using TypeScript, you need to extend the Pigment CSS theme types with Material UI `Theme`.
261261
Add the following code to a file that is included in your `tsconfig.json`:

docs/mui-vale.zip

-387 Bytes
Binary file not shown.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ ignorecase: true
77
# for more information: https://vale.sh/docs/topics/styles/#substitution
88
swap:
99
' api': API
10-
'typescript ': TypeScript
10+
typescript: TypeScript
1111
' ts': TypeScript
12-
' js': JavaScript
1312
javascript: JavaScript
13+
' js': JavaScript
1414
' css ': CSS
1515
' html ': HTML
1616
NPM: npm # https://css-tricks.com/start-sentence-npm/

0 commit comments

Comments
 (0)