Posts

Showing posts from February, 2021

Yamllint and Sonar

We start with what Sonar thinks about Yaml, it uses this Java based Yaml linter .  It is not a Sonar supported plug-in. It is not supported by Sonar, I can't file a bug against it with sonar That yaml linter appears to have no companion formatter. No formatter exists to format to it's idiosyncratic dialect (I checked a bunch, I'm well beyond the point where I'm getting a good return on my time) Filing bugs against prettier is unlikely to help, prettier as a project isn't tied to yamllint I filed a bug against yamllint, but I'm essentially asking them to either change their dialect to something an existing formatter uses or write their own formatter. I don't see that ever happening This just doesn't make any sense anyhow, yaml is machine generated, machine consumed. Machine formatting is fine and which machine formatter is used shouldn't strongly matter. Turning off all of yamllints formatting rules and leaving structural validity rules would be fine,...