forked from mui/mui-x
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vale.ini
More file actions
31 lines (24 loc) · 950 Bytes
/
Copy path.vale.ini
File metadata and controls
31 lines (24 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Vale config. More information at https://vale.sh/docs/topics/config/
# StylesPath is intentionally unset: Vale's default location is used, which is
# where `pnpm code-infra vale sync` writes the `@mui/internal-code-infra/vale`
# and `Google` packages declared below. Vale 3.14.2+ rejects an explicit
# StylesPath pointing to a missing directory.
MinAlertLevel = warning
Packages = Google, ./node_modules/@mui/internal-code-infra/vale
[formats]
mdx = md
[*.md]
# Ignore React component calls and @username mentions
TokenIgnores = (<\/?[A-Z].+>), (@\w+)
# Ignore code injections that start with {{...
BlockIgnores = {{.*
BasedOnStyles = MUI
# Google errors:
Google.GenderBias = YES # No Gender bias
# Google warings:
Google.FirstPerson = YES # Avoid first-person
Google.We = YES # Avoid first-person plural
Google.Will = YES # Avoid future tense
Google.OxfordComma = YES # Prefer Oxford comma
[CHANGELOG*.md]
MUI.CorrectReferenceAllCases = NO