regex-lint
Lint your code using regex patterns, e.g. to check for copyright headers.
To activate this with the lint
goal, you must set [regex-lint].config
.
Unlike other linters, this can run on files not owned by targets, such as BUILD files.
Backend: pants.backend.project_info
Config section: [regex-lint]