@mui/internal-code-infra 0.1.1-canary.31 → 0.1.1-canary.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @param {Object} [params]
|
|
3
3
|
* @param {boolean} [params.enableReactCompiler] - Whether to enable React Compiler.
|
|
4
|
-
* @param {boolean} [params.consistentTypeImports] - Whether to enforce consistent type imports.
|
|
4
|
+
* @param {boolean} [params.consistentTypeImports] - Whether to enforce consistent type imports. Defaults to `true`.
|
|
5
5
|
* @param {boolean} [params.materialUi] - Whether to enable Material UI specific rules (mui/material-ui-*).
|
|
6
6
|
* @param {string} [params.baseDirectory] - The base directory for the configuration.
|
|
7
7
|
* @param {boolean} [params.markdown] - @deprecated Markdown/MDX linting is enabled by default; this option no longer needs to be passed. To skip markdown linting, use eslint ignore patterns for the relevant files.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-code-infra",
|
|
3
|
-
"version": "0.1.1-canary.
|
|
3
|
+
"version": "0.1.1-canary.32",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "Infra scripts and configs to be used across MUI repos.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"publishConfig": {
|
|
198
198
|
"access": "public"
|
|
199
199
|
},
|
|
200
|
-
"gitSha": "
|
|
200
|
+
"gitSha": "fda813edaddc7d6d15c5d45a23b0ea47ba245b1e",
|
|
201
201
|
"scripts": {
|
|
202
202
|
"build": "tsc -p tsconfig.build.json",
|
|
203
203
|
"typescript": "tsc -noEmit",
|
|
@@ -35,7 +35,7 @@ function includeIgnoreIfExists(filePath, description) {
|
|
|
35
35
|
/**
|
|
36
36
|
* @param {Object} [params]
|
|
37
37
|
* @param {boolean} [params.enableReactCompiler] - Whether to enable React Compiler.
|
|
38
|
-
* @param {boolean} [params.consistentTypeImports] - Whether to enforce consistent type imports.
|
|
38
|
+
* @param {boolean} [params.consistentTypeImports] - Whether to enforce consistent type imports. Defaults to `true`.
|
|
39
39
|
* @param {boolean} [params.materialUi] - Whether to enable Material UI specific rules (mui/material-ui-*).
|
|
40
40
|
* @param {string} [params.baseDirectory] - The base directory for the configuration.
|
|
41
41
|
* @param {boolean} [params.markdown] - @deprecated Markdown/MDX linting is enabled by default; this option no longer needs to be passed. To skip markdown linting, use eslint ignore patterns for the relevant files.
|
|
@@ -43,7 +43,7 @@ function includeIgnoreIfExists(filePath, description) {
|
|
|
43
43
|
*/
|
|
44
44
|
export function createBaseConfig({
|
|
45
45
|
enableReactCompiler = false,
|
|
46
|
-
consistentTypeImports =
|
|
46
|
+
consistentTypeImports = true,
|
|
47
47
|
materialUi = false,
|
|
48
48
|
markdown = true,
|
|
49
49
|
baseDirectory = process.cwd(),
|