-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add links to rule explanations? #15
Comments
That would really be a very nice addition. It can be opened when using Cmd + click or something. I guess it would be easier to implement if we redirect to the I'm not entirely sure if this can be implemented in an extension though. @bpasero Care to chime in? |
I currently have this as a WIP - along with other features mentioned in the roadmap. This particular feature needs a patch in xo and also needs some good internal caching strategies to ensure performance. So its just a matter of finding the time. PRs welcome! |
After doing some further research on this - I found that xo primarily relies on the package https://www.npmjs.com/package/eslint-rule-docs which I am using to add rule definition links as well. No need to add this directly to xo. |
Not sure if this is possible, but it would be nice to be able to go to a rule definition (like the github issue or eslint docs) when eslint marks something.
So if I see
no-use-extend-native
it somehow links to https://github.com/dustinspecker/eslint-plugin-no-use-extend-native/blob/master/readme.mdThe text was updated successfully, but these errors were encountered: