v0.5.0
the lint
command now supports multi-file linting, accepts glob commands and the console output is upgraded, cleaner and more readable.
Also addresses issues
The partial support for filepath works correctly for single file specs, but won't yet report the correct filename for exploded specs. References will won't yet align if they have been pulled in from an external document. Support for this is coming in a later release.
The
--remote
/-u
flag is nowtrue
always for thelint
command. It's always on, it can't be turned off. This is expected behavior, always try to resolve remote / file based references, turning it off seems pointless.
To lint multiple files, simply add them one after the other:
vacuum lint file1.yaml file2.json file3.yaml
To use a glob pattern:
vacuum lint path/to/files/*.yaml