-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
📎 Implement nursery/noTsComment
- typescript-eslint/ban-ts-comment
#713
Comments
I am not sure we should add this rule. I am not very fond of it, I'm not sure why we should ban directives. I am happy to change my mind if there's a good argument in favour of this rule. The only rule that I think makes sense to have is the one to ban |
@ematipico |
Thank you @unvalley for the argument! I'm convinced :) |
Banning However I had to use |
How about using |
Ping @unvalley . Are you still interested? |
Should do the job for such specific use cases. |
lint/noTsComment
- typescript-eslint/ban-ts-comment
nursery/noTsComment
- typescript-eslint/ban-ts-comment
Happy to look into this one, however would be good just to verify exactly what this discussion landed on in terms of implementation? |
I think, for now, we want to offer a rule that checks |
And we'll be using the rule name |
@emab, If we follow the suggestion of @ematipico, I propose |
If anyone is interested, this issue has become available |
👋 @unvalley are you still planning on contributing this rule? Context: I'm writing an article for learningtypescript.com on all the TS comment directives. It's going to include best practices for them, including lint rules to prefer |
@JoshuaKGoldberg |
You got it, and thanks! It's been really encouraging seeing all the progress here. Looking forward to it! ❤️ |
I'll work on it |
Description
Implement typescript-eslint rule ban-ts-comment as
noTsComment
.If you have a better name, please suggest it.
Want to contribute? Lets you know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.
The text was updated successfully, but these errors were encountered: