@@ -54,26 +54,26 @@ func newLintCmd() *cobra.Command {
5454
5555func addLintFlags (flags * flag.FlagSet ) {
5656 flags .String ("lint-conf" , "" , heredoc .Doc (`
57- The config file for YAML linting. If not specified, 'lintconf.yaml'
58- is searched in the current directory, '$HOME/.ct', and '/etc/ct', in
59- that order` ))
57+ The config file for YAML linting. If not specified, 'lintconf.yaml'
58+ is searched in the current directory, '$HOME/.ct', and '/etc/ct', in
59+ that order` ))
6060 flags .String ("chart-yaml-schema" , "" , heredoc .Doc (`
61- The schema for chart.yml validation. If not specified, 'chart_schema.yaml'
62- is searched in the current directory, '$HOME/.ct', and '/etc/ct', in
63- that order.` ))
61+ The schema for chart.yml validation. If not specified, 'chart_schema.yaml'
62+ is searched in the current directory, '$HOME/.ct', and '/etc/ct', in
63+ that order.` ))
6464 flags .Bool ("validate-maintainers" , true , heredoc .Doc (`
65- Enable validation of maintainer account names in chart.yml.
66- Works for GitHub, GitLab, and Bitbucket` ))
65+ Enable validation of maintainer account names in chart.yml.
66+ Works for GitHub, GitLab, and Bitbucket` ))
6767 flags .Bool ("check-version-increment" , true , "Activates a check for chart version increments" )
6868 flags .Bool ("validate-chart-schema" , true , heredoc .Doc (`
69- Enable schema validation of 'Chart.yaml' using Yamale` ))
69+ Enable schema validation of 'Chart.yaml' using Yamale` ))
7070 flags .Bool ("validate-yaml" , true , heredoc .Doc (`
71- Enable linting of 'Chart.yaml' and values files` ))
71+ Enable linting of 'Chart.yaml' and values files` ))
7272 flags .StringSlice ("additional-commands" , []string {}, heredoc .Doc (`
73- Additional commands to run per chart (default: [])
74- Commands will be executed in the same order as provided in the list and will
75- be rendered with go template before being executed.
76- Example: "helm unittest --helm3 -f tests/*.yaml {{ .Path }}"` ))
73+ Additional commands to run per chart (default: [])
74+ Commands will be executed in the same order as provided in the list and will
75+ be rendered with go template before being executed.
76+ Example: "helm unittest --helm3 -f tests/*.yaml {{ .Path }}"` ))
7777}
7878
7979func lint (cmd * cobra.Command , _ []string ) error {
0 commit comments