Closed IanMoroney closed 1 year ago
@IanMoroney This may get more responses by creating over in the main ct repo: https://github.com/helm/chart-testing
This issues seems a clone of https://github.com/helm/chart-testing-action/issues/67
The line numbers missing is an artefact of the auto
output format picking up it is running in a Github Action and that output format not having the file names or line numbers on there. A design decision of yamllint
itself.
Forcing the output format of yamllint
to standard
would get you the output you seek.
closing as inactive
I noticed that
ct lint
calls yamllint to validate Chart.yaml, but when it spots a warning or an error, it doesn't tell you which line it is:Conversely, yamllint itself in its default configuration reports the line number:
Either: How do we get
ct lint
to report line numbers, or Can you configure lintconf.yaml to report line numbers by default ?Additionally, it may be the case where your lintconf.yaml is reporting warnings as errors, as yamllint 1.26.1 only reported the comment issue as a
warning
and not anerror
.