Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: fix failing integration tests on deprecation plugin#11002

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JoshuaKGoldberg merged 1 commit intotypescript-eslint:mainfromKuSh:fix-10992
Mar 31, 2025
Merged
Show file tree
Hide file tree
Changes fromall 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 numberDiff line numberDiff line change
Expand Up@@ -52,13 +52,13 @@ function _otherCases() {
jestPlugin.configs['flat/recommended'],
);
tseslint.config(
// @ts-expect-error
compat.config(deprecationPlugin.configs.recommended),
...compat.config(jestPlugin.configs.recommended),
);
tseslint.config(
// @ts-expect-error
deprecationPlugin.configs.recommended,
// this should error but doesn't because there are no types exported from the jest plugin

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

ACK - nice to see the plugin has types now 🙂

jestPlugin.configs.recommended,
);
}
Original file line numberDiff line numberDiff line change
Expand Up@@ -52,13 +52,13 @@ function _otherCases() {
jestPlugin.configs['flat/recommended'],
);
tseslint.config(
// @ts-expect-error
compat.config(deprecationPlugin.configs.recommended),
...compat.config(jestPlugin.configs.recommended),
);
tseslint.config(
// @ts-expect-error
deprecationPlugin.configs.recommended,
// this should error but doesn't because there are no types exported from the jest plugin
jestPlugin.configs.recommended,
);
}
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,7 +3,7 @@
exports[`flat-config-types-@types__eslint-v8 eslint should work successfully 1`] = `
[
{
"errorCount":2,
"errorCount":3,
"fatalErrorCount": 0,
"filePath": "<root>/eslint.config.js",
"fixableErrorCount": 0,
Expand All@@ -23,8 +23,19 @@ exports[`flat-config-types-@types__eslint-v8 eslint should work successfully 1`]
{
"column": 5,
"endColumn": 24,
"endLine": 59,
"line": 59,
"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,
"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 DownExpand Up@@ -86,13 +97,13 @@ function _otherCases() {
jestPlugin.configs['flat/recommended'],
)
tseslint.config(
// @ts-expect-error
compat.config(deprecationPlugin.configs.recommended),
...compat.config(jestPlugin.configs.recommended),
)
tseslint.config(
// @ts-expect-error
deprecationPlugin.configs.recommended,
// this should error but doesn't because there are no types exported from the jest plugin
jestPlugin.configs.recommended,
)
}
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,7 +3,7 @@
exports[`flat-config-types-@types__eslint-v9 eslint should work successfully 1`] = `
[
{
"errorCount":2,
"errorCount":3,
"fatalErrorCount": 0,
"filePath": "<root>/eslint.config.js",
"fixableErrorCount": 0,
Expand All@@ -23,8 +23,19 @@ exports[`flat-config-types-@types__eslint-v9 eslint should work successfully 1`]
{
"column": 5,
"endColumn": 24,
"endLine": 59,
"line": 59,
"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,
"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 DownExpand Up@@ -86,13 +97,13 @@ function _otherCases() {
jestPlugin.configs['flat/recommended'],
)
tseslint.config(
// @ts-expect-error
compat.config(deprecationPlugin.configs.recommended),
...compat.config(jestPlugin.configs.recommended),
)
tseslint.config(
// @ts-expect-error
deprecationPlugin.configs.recommended,
// this should error but doesn't because there are no types exported from the jest plugin
jestPlugin.configs.recommended,
)
}
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp