webhintio / hint

💡 A hinting engine for the web
https://webhint.io/
Apache License 2.0
3.63k stars 685 forks source link

[Feature] Hints should include actions/fixes along with reports #1883

Open antross opened 5 years ago

antross commented 5 years ago

🚀 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.
antross commented 5 years ago

@jdalton You had some notes on how VS Code does this. Can you share those here? Thanks!

antross commented 5 years ago

@utsavized This is a good issue for you to start investigating when you have time. Definitely touches more of webhint's architecture.

jdalton commented 5 years ago

Related