Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ignoring files/dirs via the CLI #87

Open
brentlintner opened this issue Jun 7, 2017 · 2 comments · May be fixed by #96
Open

Support ignoring files/dirs via the CLI #87

brentlintner opened this issue Jun 7, 2017 · 2 comments · May be fixed by #96

Comments

@brentlintner
Copy link
Owner

Would be helpful when recursing dirs.

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

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

@brentlintner brentlintner changed the title Support ignoring files/firs via the CLI Support ignoring files/dirs via the CLI Jun 7, 2017
@obenjiro obenjiro linked a pull request Jun 11, 2017 that will close this issue
@adonis-work
Copy link

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'

@brentlintner
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants