-
Notifications
You must be signed in to change notification settings - Fork 889
Identify lines where rules are unnecessarily disabled #1330
Comments
Neat idea, seems useful! I think we'd want this to be an option that could be turned on or off |
Yep, I think this could be a boolean flag in |
from @andy-hanson: would be best to wait until #2369 is in first |
@adidahiya @jkillian @andy-hanson now that #2369 has been merged, is there some plan to support this? :) |
No active work is being done here right now, but it's up for grabs if anyone wants to write a brief proposal and send a PR. |
As mentioned by @reduckted in #4118:
|
Is anyone currently working on this? Also, what does the proposal process entail? |
@lukelafountaine nobody's working on this right now; you're more then welcome to! IMO this would be a pretty useful feature. The definition of a "proposal" is pretty vague, but in general we'd want an explanation of how the feature works from a user's perspective. What are some cases where it would complain? What are some cases where it wouldn't? Going off of ESLint's |
can we make it a core lint rule with an auto fixer so that this change rolls out in |
From a technical perspective, can we? Is there a way for rules to have access to that info (after all other rules run)? |
Some of you might already be familiar with my alternative linter project called Fimbullinter ( Here's the interesting part: there's a plugin That means you can use |
💀 It's time! 💀TSLint is being deprecated and no longer accepting pull requests for major new changes or features. See #4534. 😱 If you'd like to see this change implemented, you have two choices:
👋 It was a pleasure open sourcing with you! If you believe this message was posted here in error, please comment so we can re-open the issue! |
🤖 Beep boop! 👉 TSLint is deprecated 👈 (#4534) and you should switch to typescript-eslint! 🤖 🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋 |
Idea: report errors where a
tslint:disable
comment has no effect (probably as a result of some changes in the linter which make it more lax, or some new configuration options)The text was updated successfully, but these errors were encountered: