3 ms·
We have schemas for some of our configs which is a level beyond linting. Trying to spread this more and more. Removes some classes of load errors with services.
by grogenaut 7y ago
We have schemas for some of our configs which is a level beyond linting. Trying to spread this more and more. Removes some classes of load errors with services.
Trying to get to almost jsonschema level without the complexity of specification and reuse with the actual code
- brunoborges 7y agoJSON Spec for YAML files is neither ideal as there is no standard way to indicate, within the YAML file itself, which JSON schema to be read by parsers and editors to validate the document. Sorry, but YAML is a disaster and YAML Lint and JSON Schema are weak attempts to improve it. I'd be happy if YAML evolved to a true schema support, use of brackets or some other tip so white space wouldn't be meaningful, and silly things removed like three hundred ways to define Boolean values.