@mui/internal-code-infra 0.1.1-canary.30 → 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",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"@pnpm/config.version-policy": "^1100.2.10",
|
|
82
82
|
"@pnpm/find-workspace-dir": "^1000.1.5",
|
|
83
83
|
"@pnpm/parse-wanted-dependency": "^1001.0.0",
|
|
84
|
-
"@typescript-eslint/types": "^8.72.
|
|
85
|
-
"@typescript-eslint/utils": "^8.72.
|
|
84
|
+
"@typescript-eslint/types": "^8.72.1",
|
|
85
|
+
"@typescript-eslint/utils": "^8.72.1",
|
|
86
86
|
"@vitest/eslint-plugin": "^1.6.28",
|
|
87
87
|
"babel-plugin-optimize-clsx": "^2.6.2",
|
|
88
88
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
"eslint-plugin-compat": "^7.0.2",
|
|
101
101
|
"eslint-plugin-import": "^2.32.0",
|
|
102
102
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
103
|
-
"eslint-plugin-mdx": "^3.
|
|
103
|
+
"eslint-plugin-mdx": "^3.9.1",
|
|
104
104
|
"eslint-plugin-n": "^18.5.0",
|
|
105
|
-
"eslint-plugin-package-json": "^1.
|
|
105
|
+
"eslint-plugin-package-json": "^1.14.0",
|
|
106
106
|
"eslint-plugin-react": "^7.37.5",
|
|
107
107
|
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
|
|
108
108
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"globals": "^17.14.0",
|
|
113
113
|
"globby": "^16.2.4",
|
|
114
114
|
"html-validate": "^11.18.0",
|
|
115
|
-
"minimatch": "^
|
|
115
|
+
"minimatch": "^11.0.0",
|
|
116
116
|
"node-html-parser": "^9.0.7",
|
|
117
117
|
"open": "^11.0.4",
|
|
118
118
|
"postcss-styled-syntax": "^0.7.4",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"resolve-pkg-maps": "^1.0.0",
|
|
140
140
|
"semver": "^7.8.6",
|
|
141
141
|
"stylelint-config-standard": "^41.0.0",
|
|
142
|
-
"typescript-eslint": "^8.72.
|
|
142
|
+
"typescript-eslint": "^8.72.1",
|
|
143
143
|
"unified": "^11.0.5",
|
|
144
144
|
"unified-lint-rule": "^3.0.1",
|
|
145
145
|
"unist-util-visit": "^5.2.0",
|
|
@@ -172,10 +172,10 @@
|
|
|
172
172
|
"@types/mdast": "4.0.4",
|
|
173
173
|
"@types/regexp.escape": "2.0.0",
|
|
174
174
|
"@types/yargs": "17.0.35",
|
|
175
|
-
"@typescript-eslint/parser": "8.72.
|
|
176
|
-
"@typescript-eslint/rule-tester": "8.72.
|
|
175
|
+
"@typescript-eslint/parser": "8.72.1",
|
|
176
|
+
"@typescript-eslint/rule-tester": "8.72.1",
|
|
177
177
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
178
|
-
"eslint": "10.
|
|
178
|
+
"eslint": "10.14.0",
|
|
179
179
|
"get-port": "7.2.0",
|
|
180
180
|
"prettier": "3.9.10",
|
|
181
181
|
"remark": "15.0.1",
|
|
@@ -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(),
|