synt icon indicating copy to clipboard operation
synt copied to clipboard

Support ignoring files/dirs via the CLI

Open brentlintner opened this issue 7 years ago • 2 comments

Would be helpful when recursing dirs.

Something like synt a -i *-foo.js.

Perhaps use https://www.npmjs.com/package/ignore.

brentlintner avatar Jun 07 '17 19:06 brentlintner

I am getting this error:

~/frontend$ synt analyze --ignore '*test*' src/

  error: unknown option `--ignore'

~/frontend$ synt analyze -i '*test*' src/

  error: unknown option `-i'

~/frontend$ synt -i '*test*' analyze src/

  error: unknown option `-i'

adonis-work avatar Aug 12 '17 16:08 adonis-work

@adonis-work not sure if this was a test on the PR for ignore or not? No worries if it was mistaken. :-)

brentlintner avatar Aug 15 '17 17:08 brentlintner