Skip to content

dev/sg: refactor usage linter into separate utility

Created by: bobheadxi

Introduce a linter builder, newUsageLinter, that makes it easy to build linters that prevent the addition of certain imports/API usages/any substrings, such as https://github.com/sourcegraph/sourcegraph/pull/41458

Test plan

CI passes

Merge request reports

Loading