github daveshanley/vacuum v0.9.6

latest releases: v0.10.0, v0.9.16, v0.9.15...
4 months ago

This is adds the globbing feature very shortly discussed here: #406 (specifically, here)

It allows for typing something like this vacuum lint --globbed-files="*/**/bu*.openapi.yaml" model/test_files/badref-burgershop.openapi.yaml, which will glob files relative to the current working directory.

It is also possible to combine globbing with the current way of specifying files (just providing filepath(s)), it removes duplicates (meaning, if you provide a filepath twice, or if one of your filepaths provided is also a match result of globbing).

Changelog

  • 62ab5d0 add todo for the future
  • 0ac8965 checkpoint
  • dd0cb12 fix: retrieve Flag value from Flags instead of PersistentFlags
  • 7ffd774 make getFilesToLint return an error rather than handling it directly
  • ea9c6ee seems to be sorta working but odds are it has a billion edge cases...should definitely add tests if it's a feature the project wants
  • 026a876 simplify globbing code ... a lot

@volovikariel

Don't miss a new vacuum release

NewReleases is sending notifications on new releases.