Skip to content

chore: fix integration-tests #10906

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ class Joiner {
return els.map(el => '' + el).join(',');
}
}
`,
`,
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ function _otherCases() {
jestPlugin.configs['flat/recommended'],
);
tseslint.config(
// @ts-expect-error
compat.config(deprecationPlugin.configs.recommended),
...compat.config(jestPlugin.configs.recommended),
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"type": "module",
"devDependencies": {
"@types/eslint__eslintrc": "latest",
"@eslint/eslintrc": "latest",
"@eslint/js": "latest",
"@types/eslint": "^8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ function _otherCases() {
jestPlugin.configs['flat/recommended'],
);
tseslint.config(
// @ts-expect-error
compat.config(deprecationPlugin.configs.recommended),
...compat.config(jestPlugin.configs.recommended),
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"type": "module",
"devDependencies": {
"@types/eslint__eslintrc": "latest",
"@eslint/eslintrc": "latest",
"@eslint/js": "latest",
"@types/eslint": "^9",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`flat-config-types-@types__eslint-v8 eslint should work successfully 1`] = `
[
{
"errorCount": 3,
"errorCount": 2,
"fatalErrorCount": 0,
"filePath": "<root>/eslint.config.js",
"fixableErrorCount": 0,
Expand All @@ -23,19 +23,8 @@ exports[`flat-config-types-@types__eslint-v8 eslint should work successfully 1`]
{
"column": 5,
"endColumn": 24,
"endLine": 55,
"line": 55,
"message": "Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer.",
"messageId": "tsDirectiveCommentRequiresDescription",
"nodeType": "Line",
"ruleId": "@typescript-eslint/ban-ts-comment",
"severity": 2,
},
{
"column": 5,
"endColumn": 24,
"endLine": 60,
"line": 60,
"endLine": 59,
"line": 59,
"message": "Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer.",
"messageId": "tsDirectiveCommentRequiresDescription",
"nodeType": "Line",
Expand Down Expand Up @@ -97,7 +86,6 @@ function _otherCases() {
jestPlugin.configs['flat/recommended'],
)
tseslint.config(
// @ts-expect-error
compat.config(deprecationPlugin.configs.recommended),
...compat.config(jestPlugin.configs.recommended),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`flat-config-types-@types__eslint-v9 eslint should work successfully 1`] = `
[
{
"errorCount": 3,
"errorCount": 2,
"fatalErrorCount": 0,
"filePath": "<root>/eslint.config.js",
"fixableErrorCount": 0,
Expand All @@ -23,19 +23,8 @@ exports[`flat-config-types-@types__eslint-v9 eslint should work successfully 1`]
{
"column": 5,
"endColumn": 24,
"endLine": 55,
"line": 55,
"message": "Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer.",
"messageId": "tsDirectiveCommentRequiresDescription",
"nodeType": "Line",
"ruleId": "@typescript-eslint/ban-ts-comment",
"severity": 2,
},
{
"column": 5,
"endColumn": 24,
"endLine": 60,
"line": 60,
"endLine": 59,
"line": 59,
"message": "Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer.",
"messageId": "tsDirectiveCommentRequiresDescription",
"nodeType": "Line",
Expand Down Expand Up @@ -97,7 +86,6 @@ function _otherCases() {
jestPlugin.configs['flat/recommended'],
)
tseslint.config(
// @ts-expect-error
compat.config(deprecationPlugin.configs.recommended),
...compat.config(jestPlugin.configs.recommended),
)
Expand Down