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
Fix typescript-eslint plugin 2.22.0 #2398
Fix typescript-eslint plugin 2.22.0 #2398
Conversation
We do mass updates before release. Usually. |
Why closing this? I don't see the problem. |
@robertohuertasm do u want to have to write entries in change log for every dependency update? Be my guest. From my pov it's better to do mass dependency updates. |
Generally speaking, I agree. But for this one, which included manual @KingDarBoja changes I thought it would be ok. I don't mind writing one extra log entry if that means saving anyone from repeating again the same task.. 😊 |
Even though it's best to keep dependencies updates tight. @KingDarBoja can include these changes on the mass update. |
Additional, I had a look at the release notes. The changes Manuel did to the rule are trivial as those are the default values. |
On the same note I plan on doing some cleanup on the rules. I already done so on my projects as a testing ground. |
Fair enough! 👍🏻👌🏻 |
@JimiC Those changes seem to be the default values until you try to fix the spacing before the arrow (or after the colon?) and save the file ( Also, the overrides of The issue lies on this line: type Class = new (...args: any[]) => any; Without the extra setting, it will be autoformatted like: type Class = new (...args: any[])=> any; |
I'll have a look at it. |
Shall we reopen this to not keep track of it? |
Give me some time pls. |
After testing it the rule has issues. First of all the correct syntax when using options is:
but even using it, it produces the same error. My syggestion is to wait untill a fix is provided (I may get involved in this). |
The issue is caused by the rule not recognizing the |
Resolved: typescript-eslint/typescript-eslint#1664 |
Fixes #2396
Changes proposed: