Specially when you are starting to use Monolint, sometimes hundreds of issues might arise and you might take months to fix all of them gradually. Filtering of the results would be good for developers that wants to focus only on certains portions of the repo. One could, for example, focus on fixing issues only on "package.json" files, while others could focus on fixing "serverless.yml" issues.
Proposal
Add to the command line the option "--filter=[regex to resource]" so that the results would show only resource names/paths that maches a specific regex.
Examples:
--filter=".ts$" - only return results to files with ".ts" extension
--filter="/extlibs/" - only return results for files under "/extlibs" dir
--filter=".test.ts$" - only return results for files with ".test.ts" in their name
Problem being solved
Specially when you are starting to use Monolint, sometimes hundreds of issues might arise and you might take months to fix all of them gradually. Filtering of the results would be good for developers that wants to focus only on certains portions of the repo. One could, for example, focus on fixing issues only on "package.json" files, while others could focus on fixing "serverless.yml" issues.
Proposal
Add to the command line the option "--filter=[regex to resource]" so that the results would show only resource names/paths that maches a specific regex.
Examples: --filter=".ts$" - only return results to files with ".ts" extension --filter="/extlibs/" - only return results for files under "/extlibs" dir --filter=".test.ts$" - only return results for files with ".test.ts" in their name