-
-
Notifications
You must be signed in to change notification settings - Fork 65
-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Rule clash between @typescript-eslint/init-declarations and no-undef-init #1710
Comments
Sorry about this. And thank you for raising it. Will take a look. Perhaps this weekend. |
I actually ended up turning off |
Thank you for the additional feedback, @xandris. |
Analysis with @rostislav-simonik conclusion: @xandris would you concur? We suggest waiting for upstream's response. |
yes, i agree completely |
typescript-eslint/typescript-eslint#9950 (comment) @xandris say... how many of these do you have? Could they possibly be nicer as |
Given a stock config, local variables that may be undefined are impossible to lint:
The safer route is probably to turn off no-undef-init and allow superfluous initialization with
undefined
? At least in Typescript.The text was updated successfully, but these errors were encountered: