@mui/internal-code-infra 0.1.1-canary.7 → 0.1.1-canary.9
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.
|
|
3
|
+
"version": "0.1.1-canary.9",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "Infra scripts and configs to be used across MUI repos.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"@pnpm/config.version-policy": "^1100.2.5",
|
|
79
79
|
"@pnpm/find-workspace-dir": "^1000.1.5",
|
|
80
80
|
"@pnpm/parse-wanted-dependency": "^1001.0.0",
|
|
81
|
-
"@typescript-eslint/types": "^8.
|
|
82
|
-
"@typescript-eslint/utils": "^8.
|
|
81
|
+
"@typescript-eslint/types": "^8.71.0",
|
|
82
|
+
"@typescript-eslint/utils": "^8.71.0",
|
|
83
83
|
"@vitest/eslint-plugin": "^1.6.27",
|
|
84
84
|
"babel-plugin-optimize-clsx": "^2.6.2",
|
|
85
85
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"resolve-pkg-maps": "^1.0.0",
|
|
134
134
|
"semver": "^7.8.5",
|
|
135
135
|
"stylelint-config-standard": "^40.0.0",
|
|
136
|
-
"typescript-eslint": "^8.
|
|
136
|
+
"typescript-eslint": "^8.71.0",
|
|
137
137
|
"unified": "^11.0.5",
|
|
138
138
|
"unified-lint-rule": "^3.0.1",
|
|
139
139
|
"unist-util-visit": "^5.1.0",
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
"@types/mdast": "4.0.4",
|
|
163
163
|
"@types/regexp.escape": "2.0.0",
|
|
164
164
|
"@types/yargs": "17.0.35",
|
|
165
|
-
"@typescript-eslint/parser": "8.
|
|
166
|
-
"@typescript-eslint/rule-tester": "8.
|
|
165
|
+
"@typescript-eslint/parser": "8.71.0",
|
|
166
|
+
"@typescript-eslint/rule-tester": "8.71.0",
|
|
167
167
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
168
168
|
"eslint": "10.11.0",
|
|
169
169
|
"get-port": "7.2.0",
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"remark-mdx": "3.1.1",
|
|
173
173
|
"serve": "14.2.6",
|
|
174
174
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
175
|
-
"typescript-eslint": "8.
|
|
175
|
+
"typescript-eslint": "8.71.0"
|
|
176
176
|
},
|
|
177
177
|
"files": [
|
|
178
178
|
"bin",
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"publishConfig": {
|
|
188
188
|
"access": "public"
|
|
189
189
|
},
|
|
190
|
-
"gitSha": "
|
|
190
|
+
"gitSha": "08ae5b65f478616b27a480399a752090a7e878b1",
|
|
191
191
|
"scripts": {
|
|
192
192
|
"build": "tsc -p tsconfig.build.json",
|
|
193
193
|
"typescript": "tsc -noEmit",
|
|
@@ -184,6 +184,14 @@ const typescriptOverrides = {
|
|
|
184
184
|
// TypeScript equivalents of ESLint rules
|
|
185
185
|
'default-param-last': 'off',
|
|
186
186
|
'@typescript-eslint/default-param-last': 'error',
|
|
187
|
+
'@typescript-eslint/ban-ts-comment': [
|
|
188
|
+
'error',
|
|
189
|
+
{
|
|
190
|
+
'ts-expect-error': 'allow-with-description',
|
|
191
|
+
'ts-ignore': true,
|
|
192
|
+
minimumDescriptionLength: 10,
|
|
193
|
+
},
|
|
194
|
+
],
|
|
187
195
|
'no-array-constructor': 'off',
|
|
188
196
|
'@typescript-eslint/no-array-constructor': 'error',
|
|
189
197
|
'@typescript-eslint/triple-slash-reference': 'off',
|
|
@@ -21,7 +21,6 @@ export const baseSpecRules = {
|
|
|
21
21
|
'@typescript-eslint/no-unused-expressions': 'off',
|
|
22
22
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
23
23
|
'@typescript-eslint/no-use-before-define': 'off',
|
|
24
|
-
'@typescript-eslint/ban-ts-comment': 'off',
|
|
25
24
|
|
|
26
25
|
'import/prefer-default-export': 'off',
|
|
27
26
|
|
|
@@ -88,7 +87,6 @@ export function createTestConfig() {
|
|
|
88
87
|
'react/no-unused-prop-types': 'off',
|
|
89
88
|
// Part of the migration away from airbnb config. Turned of initially.
|
|
90
89
|
'@typescript-eslint/no-empty-function': 'off',
|
|
91
|
-
'@typescript-eslint/ban-ts-comment': 'off',
|
|
92
90
|
'testing-library/no-node-access': 'off',
|
|
93
91
|
'@typescript-eslint/no-non-null-asserted-optional-chain': 'off',
|
|
94
92
|
// end migration
|