moby / buildkit

concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
https://github.com/moby/moby/issues/34227
Apache License 2.0
7.83k stars 1.09k forks source link

Move parseLintOptions into linter package #5076

Closed daghack closed 6 days ago

daghack commented 1 week ago

This refactors the parseLintOptions to be an exported function in the linter package, which allows us to pass the linter.Config from the dockerfile ui as a struct, rather than a to-be-parsed string, and moves linting functionality into its designated package.