Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.5.0 #370

Merged
merged 5 commits into from
Nov 18, 2023
Merged

v0.5.0 #370

merged 5 commits into from
Nov 18, 2023

Conversation

daveshanley
Copy link
Owner

@daveshanley daveshanley commented Nov 17, 2023

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 now true always for the lint 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

Linting multiple files

Screenshot 2023-11-17 at 6 11 36 PM

Updated summary view, cleaner, easier to read

Screenshot 2023-11-17 at 6 13 30 PM

Screenshot 2023-11-17 at 6 13 44 PM

Improved logging output, no more JSON on the command line

Screenshot 2023-11-17 at 6 14 21 PM

Links are clickable when viewing in an IDE terminal

Screenshot 2023-11-17 at 6 27 25 PM

- Bad commands and flags are reported now
- Details view is cleaner and partially supports filepaths
- Misleading message about passing when using —fail-severity

Signed-off-by: quobix <[email protected]>
Supported by all core functions

Signed-off-by: quobix <[email protected]>
bumped latest deps

Signed-off-by: quobix <[email protected]>
@daveshanley daveshanley merged commit 7d152ec into main Nov 18, 2023
6 checks passed
@daveshanley daveshanley deleted the v0.5.0 branch November 18, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant