Skip to content
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

Suggestion: Rules url messages #6

Open
Mrsevic opened this issue Dec 15, 2019 · 2 comments
Open

Suggestion: Rules url messages #6

Mrsevic opened this issue Dec 15, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@Mrsevic
Copy link

Mrsevic commented Dec 15, 2019

Is there any way to indicate an array of ruleHelpUrls?

I currently use SonarJs and @typescript-eslint rules but when I open url they always just append the rule to the one that has been specified in ruleHelpUrl?

Thanks

@glat
Copy link
Owner

glat commented Jan 11, 2020

Sorry for late response. I did not get an email from github for this issue.
"ruleHelpUrl" should be used as in the following example. {ruleId} will be replaced with the ruleId of the linter.

"ruleHelpUrl": "https://eslint.org/docs/rules/{ruleId}"

If you post me an example I can get to manage this issue. Unfortunately I never used @typescript-eslint

Thanks

@Mrsevic
Copy link
Author

Mrsevic commented Jan 16, 2020

No need to apologize. I've figured it out, the main issue is that the tslint has different uri than the eslint hence it appends to it multiple messages. The best thing in my humble opinion would be to introduce the ability to define multiple helpUrl per tool or to automatically detect some underneath the hood(dunno whether or not it is possible given the proxy nature).

@glat glat added the enhancement New feature or request label Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants