Skip to content

chore(deps): update dependency eslint-plugin-eslint-plugin to v5 #1165

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
merged 2 commits into from
Jul 13, 2022
Merged
Changes from 1 commit
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
2 changes: 2 additions & 0 deletions src/rules/unbound-method.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ export default createRule<Options, MessageIds>({
name: __filename,
meta: {
messages: {
// eslint-disable-next-line eslint-plugin/no-unused-message-ids
Copy link
Member

Choose a reason for hiding this comment

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

should we report a bug?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Na these are being used by the base rule but we need to define them here to make TypeScript happy since it relates to what IDs we can use in the tests (they actually get overridden if the base rule exists).

I wouldn't expect the plugin to try and figure that out

Copy link
Member

Choose a reason for hiding this comment

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

unbound: DEFAULT_MESSAGE,
// eslint-disable-next-line eslint-plugin/no-unused-message-ids
unboundWithoutThisAnnotation: DEFAULT_MESSAGE,
},
schema: [],
Expand Down