-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
[Suggestion] Allow @ts-ignore at the end of the same line #20111
Comments
Would be great, but I think having a separate syntax, eg. |
@DanielRosenwasser is it possible to include the feature into the upcoming 3.8 iteration? |
Still nothing on this...? |
Still nothing on this? 😢 |
+1 for @ts-ignore-line |
+1 for @ts-ignore-line too :) |
+1 for this. The ever responsive MS... |
+1 For this |
Please, how is this still open 😩 |
It'd be nice if the Typescript team would either accept or reject this issue, instead of leaving it in limbo. It seems to me like this would improve TypeScript for everyone ... but if the maintainers don't agree, even a one-sentence explanation of why they feel it would be detrimental would be greatly appreciated. |
+1 |
1 similar comment
+1 |
+1. Such a necessary and important functionality, code cleanliness suffers because of this, it's terribly annoying when everything looks beautiful and elegant, but then this annotation appears, it stands out so much. Team, please pay attention to this issue! It's been almost 6 years already! It's really very painful. @mgcrea @machineghost @DanielRosenwasser @weswigham @sansantosh |
ESLint has this feature in the form of |
Any news? |
If there was, this is where it would be. Set your expectations accordingly. |
+1 for @ts-ignore-line |
I added a comment in #18457 (comment) but I think that nobody saw it.
It would be nice if I could put the
@ts-ignore
at the same line, to leave the code more readableinstead of:
The text was updated successfully, but these errors were encountered: