I just released ryl 0.6.0 to crates/pypi/npm with new automatic fixes for spacing around:

- braces
- brackets
- commas
- comments-indentation

Also fixed a bug with top level list elements ( thanks for raising @frague59 )

#rust #yaml #linter

@owenlamont/ryl

Fast YAML linter inspired by yamllint. Latest version: 0.6.0, last published: 4 minutes ago. Start using @owenlamont/ryl in your project by running `npm i @owenlamont/ryl`. There are no other projects in the npm registry using @owenlamont/ryl.

npm
@owenrlamont I read the readme and I'm still confused on if this is compatible with existing yaml formatters. (yamlfmt, yamlfix, prettier, etc). That was a problem I've run into with linters is they sometimes want a format that no formatter supports by default.

@mistersql good question, to be honest I haven't tested ryl versus different yaml formatters. The original goal was to be a faster yamllint.

My intention in the future was to implement some level of formatting into ryl so it could be a one stop shop for linting and formatting. At present ryl copies all yamllint rules some of which cover formatting rules, they are pretty configurable so I hope would be compatible with other formatters.

I'll try to look into yaml formatter compatibility.