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

Can I control the lint rules? #128

Open
TOMOFUMI-KONDO opened this issue Feb 12, 2025 · 3 comments
Open

Can I control the lint rules? #128

TOMOFUMI-KONDO opened this issue Feb 12, 2025 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@TOMOFUMI-KONDO
Copy link

Thanks for developing.

I want to control which lint rules are applied or not.
Are there any methods to do this?

@qvalentin
Copy link
Collaborator

Hi, currently you can just disable the diagnosticts created by yaml-language-server (the ones prefixed with YAMLLS).

For the helm specific diagnostics the lsp uses the same rules as the helm lint command (https://helm.sh/docs/helm/helm_lint/), which also does not allow controlling the rules.

What is your specific usecase? Are there any annoying diagnostics for you?

@TOMOFUMI-KONDO
Copy link
Author

I see.
I want to disable the rule Helm lint:Information:icon is recommended rule, but I can't do that now, can I?
Still, it's an issue of helm lint package, not helm-ls, I think.

@qvalentin
Copy link
Collaborator

This is corrrect, that rule can not be disabled currently.
But we could add some code in helm-ls to filter it out.

@qvalentin qvalentin added the enhancement New feature or request label Feb 16, 2025
@qvalentin qvalentin added the good first issue Good for newcomers label Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants