-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Output full paths to files with errors from lint #11365
Comments
See also #11357 |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Still an issue. |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Still am issue. |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Still an issue. |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Still an issue. |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
The flag --full-path enables printing full paths in linter warnings and errors. Fixes helm#11365 Signed-off-by: Bhargav Ravuri <bhargav.ravuri@infracloud.io>
/reopen |
I'm trying to create a problem matcher for VS Code such that I can include
helm lint
as part of the build for a chart repo and have problems tied back to actual files.Right now when
helm lint
finds a problem, it outputs locations of problems in a sort of relative way:In order to actually indicate the file that is built, you end up needing to put three things together:
==> Linting _____
)[ERROR]
or[INFO]
That's not terribly easy to do from an automated build "find the file based on a regex match" sort of thing.
It would be nice if the
helm lint
messages could optionally output an absolute path to the file with the issue, something like:If that was the case, you could very easily create a plugin problem matcher to integrate
helm lint
into an IDE like VS Code.The text was updated successfully, but these errors were encountered: