README
lint-paths
Checks that paths correspond to a desired pattern.
Install
As a command line tool:
npm install -g lint-paths
Or as development tool:
npm install --save-dev lint-paths
Command line usage
lint-paths [options] root[, root]
Options
-h
,--help
: display a help message,-p
,--pattern
: the expected pattern of the paths,^[^A-Z]*$
by default,-i
,--ignore
: a valid RegExp pattern to ignore, this options can be repeated multiple times.
Examples
$ lint-paths .
$ lint-paths -p "^[a-z]*\