Open antross opened 5 years ago
@jdalton You had some notes on how VS Code does this. Can you share those here? Thanks!
@utsavized This is a good issue for you to start investigating when you have time. Definitely touches more of webhint's architecture.
🚀 Feature request
Description
What do you want to be added? Reports from hints should include actions to take in response to the report. These may include some which disable/ignore the hint at various levels as well as others which auto-correct the problem (if possible). The actual UX of how to choose an action will likely vary by context (CLI, browser extension, VS Code extension). I suggest looking at how ESLint and VS Code support similar scenarios for inspiration. Are you willing to work on this? Yes. ## What scenarios will this solve? Why do you want/need this? Learning about issues is great, but having them quickly and automatically fixed is even better. Similarly, when I decide I don't care about a particular report, being able to silence it quickly without reading a bunch of documentation about configuration files is awesome.