todogroup / repolinter

Repolinter, The Open Source Repository Linter
https://todogroup.github.io/repolinter/
Apache License 2.0
421 stars 72 forks source link

Enhancement: Add --ignorePaths to repolinter #298

Open hyandell opened 1 year ago

hyandell commented 1 year ago

Issue Report

The repolinter.js file supports an --allowPaths, but sometimes you want to allow everything except . Using --allowPaths is a papercut pain to keep constantly updated.

Expected Behavior

That you can instead use --ignorePaths to ignore 1..n directories from the repolinting. For example, you might --ignorePaths node_modules.