-
-
Notifications
You must be signed in to change notification settings - Fork 0
Lint
Angel Campos edited this page Aug 17, 2024
·
3 revisions
To ensure the proper syntax and integrity of YAML files, you can utilize the yamllint tool, which can identify and address issues like line length, trailing spaces, and indentation, ensuring your YAML files meet the required standards.
make lint
This output will be printed on successful lint.
Check for installed tools
- yamllint [OK]
Running linters on all resources using yamllint
>>> lint process finished <<<
This output will be printed when lint fails."
Check for installed tools
- yamllint [OK]
Running linters on all resources using yamllint
./config/pro/apps_v1_deployment_my-awesome-application.yaml
1:1 warning found forbidden document start "---" (document-start)
56:13 error trailing spaces (trailing-spaces)
95:41 error no new line character at the end of file (new-line-at-end-of-file)
>>> lint process finished <<<