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 optin config with globs #9

Open
Raynos opened this issue Aug 25, 2016 · 0 comments
Open

Support optin config with globs #9

Raynos opened this issue Aug 25, 2016 · 0 comments

Comments

@Raynos
Copy link
Owner

Raynos commented Aug 25, 2016

Currently there are three modes to run the checker:

  • jsig . which runs the checker against all code.
  • jsig file.js which runs a single file
  • jsig . --optin which runs the checker against all code, but only files with /* @jsig */

I'd be good to an option to pass:

  • jsig . --files glob --files glob --files glob
  • or in the jsigconfig, { files: [ glob, glob, glob ] }

This allows for a package to configure the files to be checked like they would configure a linter with the files to lint.

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

No branches or pull requests

1 participant