Skip to content

[docs-infra] Fix Vale config for TypeScript references #43751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 16, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Finally, update the `typography.fontFamily` value with the variable created in t
};
```

### Typescript
### TypeScript

If you are using TypeScript, you need to extend the Pigment CSS theme types with Material UI `Theme`.
Add the following code to a file that is included in your `tsconfig.json`:
Expand Down
Binary file modified docs/mui-vale.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/mui-vale/styles/MUI/CorrectReferenceAllCases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ ignorecase: true
# for more information: https://vale.sh/docs/topics/styles/#substitution
swap:
' api': API
'typescript ': TypeScript
typescript: TypeScript
' ts': TypeScript
' js': JavaScript
javascript: JavaScript
' js': JavaScript
' css ': CSS
' html ': HTML
NPM: npm # https://css-tricks.com/start-sentence-npm/
Expand Down
Loading