-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
documentationDocumentation ("docs") that needs adding/updatingDocumentation ("docs") that needs adding/updatingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have read the FAQ and my problem is not listed.
Repro
sveltejs/eslint-plugin-svelte3#103 (comment)
{
"rules": {
"@typescript-eslint/unbound-method": 2
}
}
// on:animationend={myStore.action}
const myStore = {
action(event: AnimationEvent | string) {
// handle event here
},
}
Expected Result
Better message and better document for suggesting this: void
Actual Result
Additional Info
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
4.10.0 |
@typescript-eslint/parser |
4.10.0 |
TypeScript |
4.2.3 |
ESLint |
7.10.0 |
node |
14.16.0 |
Metadata
Metadata
Assignees
Labels
documentationDocumentation ("docs") that needs adding/updatingDocumentation ("docs") that needs adding/updatingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin