Skip to content

Commit

Permalink
[core] Cleanup mention of test-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Dec 22, 2022
1 parent defd28e commit ed53a38
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ If you're using `eslint` you can catch problematic imports with the [`no-restric
"no-restricted-imports": [
"error",
{
"patterns": ["@mui/*/*/*", "!@mui/material/test-utils/*"]
"patterns": ["@mui/*/*/*"]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ If you're using `eslint` you can catch problematic imports with the [`no-restric
"no-restricted-imports": [
"error",
{
"patterns": ["@mui/*/*/*", "!@mui/material/test-utils/*"]
"patterns": ["@mui/*/*/*"]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ If you're using `eslint` you can catch problematic imports with the [`no-restric
"no-restricted-imports": [
"error",
{
"patterns": ["@mui/*/*/*", "!@mui/material/test-utils/*"]
"patterns": ["@mui/*/*/*"]
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin-material-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Enforce correct usage of `@ignore` in the prop-types block comments.
### no-hardcoded-labels

Prevent the usage of hardcoded labels.
The docs are translated via crowdin, we prefer to use `t` from the redux store.
The docs are translated via Crowdin, we prefer to use `t` from the redux store.

### rules-of-use-theme-variants

Expand All @@ -40,7 +40,7 @@ Removed in favor of [`no-restricted-imports`](https://eslint.org/docs/latest/rul
"no-restricted-imports": [
"error",
{
"patterns": ["@mui/*/*/*", "!@mui/material/test-utils/*"]
"patterns": ["@mui/*/*/*"]
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"emitDeclarationOnly": true
},
"include": ["src/**/*.ts*"],
"exclude": ["src/**/*.d.ts", "src/**/*.test.*", "./**/*.spec.*", "**/test-utils.tsx"],
"exclude": ["src/**/*.d.ts", "src/**/*.test.*", "./**/*.spec.*"],
"references": [
{ "path": "../mui-material/tsconfig.build.json" },
{ "path": "../mui-system/tsconfig.build.json" }
Expand Down

0 comments on commit ed53a38

Please sign in to comment.