@mui/internal-code-infra 0.1.1-canary.10 → 0.1.1-canary.11

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/internal-code-infra",
3
- "version": "0.1.1-canary.10",
3
+ "version": "0.1.1-canary.11",
4
4
  "author": "MUI Team",
5
5
  "description": "Infra scripts and configs to be used across MUI repos.",
6
6
  "license": "MIT",
@@ -80,8 +80,8 @@
80
80
  "@pnpm/config.version-policy": "^1100.2.5",
81
81
  "@pnpm/find-workspace-dir": "^1000.1.5",
82
82
  "@pnpm/parse-wanted-dependency": "^1001.0.0",
83
- "@typescript-eslint/types": "^8.71.0",
84
- "@typescript-eslint/utils": "^8.71.0",
83
+ "@typescript-eslint/types": "^8.71.1",
84
+ "@typescript-eslint/utils": "^8.71.1",
85
85
  "@vitest/eslint-plugin": "^1.6.27",
86
86
  "babel-plugin-optimize-clsx": "^2.6.2",
87
87
  "babel-plugin-react-compiler": "^1.0.0",
@@ -135,7 +135,7 @@
135
135
  "resolve-pkg-maps": "^1.0.0",
136
136
  "semver": "^7.8.5",
137
137
  "stylelint-config-standard": "^40.0.0",
138
- "typescript-eslint": "^8.71.0",
138
+ "typescript-eslint": "^8.71.1",
139
139
  "unified": "^11.0.5",
140
140
  "unified-lint-rule": "^3.0.1",
141
141
  "unist-util-visit": "^5.1.0",
@@ -164,17 +164,17 @@
164
164
  "@types/mdast": "4.0.4",
165
165
  "@types/regexp.escape": "2.0.0",
166
166
  "@types/yargs": "17.0.35",
167
- "@typescript-eslint/parser": "8.71.0",
168
- "@typescript-eslint/rule-tester": "8.71.0",
167
+ "@typescript-eslint/parser": "8.71.1",
168
+ "@typescript-eslint/rule-tester": "8.71.1",
169
169
  "@typescript/native": "npm:typescript@7.0.2",
170
- "eslint": "10.11.0",
170
+ "eslint": "10.12.0",
171
171
  "get-port": "7.2.0",
172
172
  "prettier": "3.9.9",
173
173
  "remark": "15.0.1",
174
174
  "remark-mdx": "3.1.1",
175
175
  "serve": "14.2.6",
176
176
  "typescript": "npm:@typescript/typescript6@6.0.2",
177
- "typescript-eslint": "8.71.0"
177
+ "typescript-eslint": "8.71.1"
178
178
  },
179
179
  "files": [
180
180
  "bin",
@@ -189,7 +189,7 @@
189
189
  "publishConfig": {
190
190
  "access": "public"
191
191
  },
192
- "gitSha": "46d7844970a13df535908a1f3f0d353d992feb87",
192
+ "gitSha": "f0f2046d46bd579cf674deedc6c85eb83f6ec2bf",
193
193
  "scripts": {
194
194
  "build": "tsc -p tsconfig.build.json",
195
195
  "typescript": "tsc -noEmit",
@@ -19,17 +19,35 @@ export function createDocsConfig() {
19
19
  ? nextjsAlias.flatConfig.recommended
20
20
  : nextjsAlias.configs.recommended;
21
21
 
22
- return defineConfig(recommendedConfig, {
23
- settings: {
24
- next: {
25
- rootDir: 'docs',
22
+ return defineConfig(
23
+ recommendedConfig,
24
+ {
25
+ settings: {
26
+ next: {
27
+ rootDir: 'docs',
28
+ },
29
+ },
30
+ files: [`**/*${EXTENSION_TS}`],
31
+ rules: {
32
+ 'compat/compat': 'off',
33
+ 'jsx-a11y/anchor-is-valid': 'off',
34
+ 'no-irregular-whitespace': ['error', { skipJSXText: true, skipStrings: true }],
26
35
  },
27
36
  },
28
- files: [`**/*${EXTENSION_TS}`],
29
- rules: {
30
- 'compat/compat': 'off',
31
- 'jsx-a11y/anchor-is-valid': 'off',
32
- 'no-irregular-whitespace': ['error', { skipJSXText: true, skipStrings: true }],
37
+ {
38
+ // Build configuration and maintenance scripts aren't documentation examples
39
+ // and are often intentionally outside the docs TypeScript project.
40
+ files: [`**/*${EXTENSION_TS}`],
41
+ ignores: ['**/*.config.*', '**/scripts/**'],
42
+ languageOptions: {
43
+ parserOptions: {
44
+ projectService: true,
45
+ tsconfigRootDir: process.cwd(),
46
+ },
47
+ },
48
+ rules: {
49
+ '@typescript-eslint/no-deprecated': 'error',
50
+ },
33
51
  },
34
- });
52
+ );
35
53
  }