@mui/internal-code-infra 0.0.4-canary.54 → 0.0.4-canary.56

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.
@@ -3,14 +3,14 @@
3
3
  * @param {boolean} [params.enableReactCompiler] - Whether to enable React Compiler.
4
4
  * @param {boolean} [params.consistentTypeImports] - Whether to enforce consistent type imports.
5
5
  * @param {boolean} [params.materialUi] - Whether to enable Material UI specific rules (mui/material-ui-*).
6
- * @param {boolean} [params.markdown] - Whether to enable markdown/MDX linting via `eslint-plugin-mdx`. Opt-in so dependents can adopt on their own schedule.
7
6
  * @param {string} [params.baseDirectory] - The base directory for the configuration.
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.
8
8
  * @returns {import('eslint').Linter.Config[]}
9
9
  */
10
10
  export declare function createBaseConfig({ enableReactCompiler, consistentTypeImports, materialUi, markdown, baseDirectory, }?: {
11
11
  enableReactCompiler?: boolean;
12
12
  consistentTypeImports?: boolean;
13
13
  materialUi?: boolean;
14
- markdown?: boolean;
15
14
  baseDirectory?: string;
15
+ markdown?: boolean;
16
16
  }): import('eslint').Linter.Config[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/internal-code-infra",
3
- "version": "0.0.4-canary.54",
3
+ "version": "0.0.4-canary.56",
4
4
  "author": "MUI Team",
5
5
  "description": "Infra scripts and configs to be used across MUI repos.",
6
6
  "license": "MIT",
@@ -66,10 +66,10 @@
66
66
  "@babel/preset-env": "^7.29.5",
67
67
  "@babel/preset-react": "^7.28.5",
68
68
  "@babel/preset-typescript": "^7.28.5",
69
- "@eslint/compat": "^2.0.3",
70
- "@eslint/config-helpers": "^0.5.4",
69
+ "@eslint/compat": "^2.1.0",
70
+ "@eslint/config-helpers": "^0.6.0",
71
71
  "@eslint/js": "^10.0.1",
72
- "@eslint/json": "^1.1.0",
72
+ "@eslint/json": "^1.2.0",
73
73
  "@inquirer/confirm": "^6.0.13",
74
74
  "@inquirer/select": "^5.1.5",
75
75
  "@napi-rs/keyring": "^1.3.0",
@@ -77,9 +77,9 @@
77
77
  "@octokit/oauth-methods": "^6.0.2",
78
78
  "@octokit/rest": "^22.0.1",
79
79
  "@pnpm/find-workspace-dir": "^1000.1.5",
80
- "@typescript-eslint/types": "^8.57.1",
81
- "@typescript-eslint/utils": "^8.57.1",
82
- "@vitest/eslint-plugin": "^1.6.11",
80
+ "@typescript-eslint/types": "^8.59.3",
81
+ "@typescript-eslint/utils": "^8.59.3",
82
+ "@vitest/eslint-plugin": "^1.6.17",
83
83
  "babel-plugin-optimize-clsx": "^2.6.2",
84
84
  "babel-plugin-react-compiler": "^1.0.0",
85
85
  "babel-plugin-transform-import-meta": "^2.3.3",
@@ -94,15 +94,15 @@
94
94
  "eslint-config-prettier": "^10.1.8",
95
95
  "eslint-import-resolver-typescript": "^4.4.4",
96
96
  "eslint-module-utils": "^2.12.1",
97
- "eslint-plugin-compat": "^7.0.1",
97
+ "eslint-plugin-compat": "^7.0.2",
98
98
  "eslint-plugin-import": "^2.32.0",
99
99
  "eslint-plugin-jsx-a11y": "^6.10.2",
100
100
  "eslint-plugin-mdx": "^3.7.0",
101
101
  "eslint-plugin-mocha": "^11.2.0",
102
102
  "eslint-plugin-react": "^7.37.5",
103
103
  "eslint-plugin-react-compiler": "^19.1.0-rc.2",
104
- "eslint-plugin-react-hooks": "^7.0.1",
105
- "eslint-plugin-testing-library": "^7.16.0",
104
+ "eslint-plugin-react-hooks": "^7.1.1",
105
+ "eslint-plugin-testing-library": "^7.16.2",
106
106
  "execa": "^9.6.1",
107
107
  "git-url-parse": "^16.1.0",
108
108
  "globals": "^17.6.0",
@@ -134,14 +134,14 @@
134
134
  "resolve-pkg-maps": "^1.0.0",
135
135
  "semver": "^7.8.0",
136
136
  "stylelint-config-standard": "^40.0.0",
137
- "typescript-eslint": "^8.57.1",
137
+ "typescript-eslint": "^8.59.3",
138
138
  "unified": "^11.0.5",
139
139
  "unified-lint-rule": "^3.0.1",
140
140
  "unist-util-visit": "^5.1.0",
141
141
  "yargs": "^18.0.0",
142
- "@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.27",
142
+ "@mui/internal-babel-plugin-display-name": "1.0.4-canary.20",
143
143
  "@mui/internal-babel-plugin-resolve-imports": "2.0.7-canary.36",
144
- "@mui/internal-babel-plugin-display-name": "1.0.4-canary.20"
144
+ "@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.27"
145
145
  },
146
146
  "peerDependencies": {
147
147
  "@next/eslint-plugin-next": "*",
@@ -170,15 +170,15 @@
170
170
  "@types/mdast": "4.0.4",
171
171
  "@types/regexp.escape": "2.0.0",
172
172
  "@types/yargs": "17.0.35",
173
- "@typescript-eslint/parser": "8.57.1",
174
- "@typescript-eslint/rule-tester": "8.57.1",
175
- "eslint": "10.0.3",
173
+ "@typescript-eslint/parser": "8.59.3",
174
+ "@typescript-eslint/rule-tester": "8.59.4",
175
+ "eslint": "10.4.0",
176
176
  "get-port": "7.2.0",
177
177
  "prettier": "3.8.3",
178
178
  "remark": "15.0.1",
179
179
  "remark-mdx": "3.1.1",
180
180
  "serve": "14.2.6",
181
- "typescript-eslint": "8.57.1"
181
+ "typescript-eslint": "8.59.3"
182
182
  },
183
183
  "files": [
184
184
  "bin",
@@ -191,7 +191,7 @@
191
191
  "publishConfig": {
192
192
  "access": "public"
193
193
  },
194
- "gitSha": "8097d2430a2237044d47b3cfca7c35a6f90c9f48",
194
+ "gitSha": "c0380f22916148bebba5dee261c1a2a3a9211a5e",
195
195
  "scripts": {
196
196
  "build": "tsgo -p tsconfig.build.json",
197
197
  "typescript": "tsgo -noEmit",
@@ -35,15 +35,15 @@ function includeIgnoreIfExists(filePath, description) {
35
35
  * @param {boolean} [params.enableReactCompiler] - Whether to enable React Compiler.
36
36
  * @param {boolean} [params.consistentTypeImports] - Whether to enforce consistent type imports.
37
37
  * @param {boolean} [params.materialUi] - Whether to enable Material UI specific rules (mui/material-ui-*).
38
- * @param {boolean} [params.markdown] - Whether to enable markdown/MDX linting via `eslint-plugin-mdx`. Opt-in so dependents can adopt on their own schedule.
39
38
  * @param {string} [params.baseDirectory] - The base directory for the configuration.
39
+ * @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.
40
40
  * @returns {import('eslint').Linter.Config[]}
41
41
  */
42
42
  export function createBaseConfig({
43
43
  enableReactCompiler = false,
44
44
  consistentTypeImports = false,
45
45
  materialUi = false,
46
- markdown = false,
46
+ markdown = true,
47
47
  baseDirectory = process.cwd(),
48
48
  } = {}) {
49
49
  return defineConfig([