Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Labels
accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workinggood first issueGood for newcomerslocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Ruleuse-unknown-in-catch-callback-variable hasfixable: 'code' andhasSuggestions: true properties inmeta on line39 :
fixable: 'code', hasSuggestions: true,But each fix is located in asuggest property on line175,198,224,227 and238 :
example on line `198 :
suggest: [ { messageId: 'wrongTypeAnnotationSuggestion', fix: (fixer: TSESLint.RuleFixer): TSESLint.RuleFix => fixer.replaceText(catchVariableTypeAnnotation, ': unknown'), },],Based oneslint documentation :
fixable: (string) Either "code" or "whitespace" if the --fix option on the command line automatically fixes problems reported by the rule.Sincefixable means "automatic fix" with--fix I supposefixable is no more needed in this rule. Right ?
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workinggood first issueGood for newcomerslocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-plugin