RamenDR / ramen

Apache License 2.0
70 stars 51 forks source link

Need a proper way to validate YAML format which could be part of linters as well #1456

Open rakeshgm opened 3 weeks ago

rakeshgm commented 3 weeks ago

including yaml validation could solve issues like this: https://github.com/red-hat-storage/ramen/commit/1faf4298598cba38f5ab48590ca5e0c9a29ad73a .

ShyamsundarR commented 3 weeks ago

We use yamllint in the linters, but ignore the config directory as it has a lot of autogenerated files that do not pass the yaml linter settings. The potential fix would be to include the config directory and adjust the linter such that these autogenerated files do not show linter errors.