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

ignore files in .gitignore ? #21

Closed
juanpabloaj opened this issue Jul 6, 2015 · 4 comments
Closed

ignore files in .gitignore ? #21

juanpabloaj opened this issue Jul 6, 2015 · 4 comments

Comments

@juanpabloaj
Copy link
Contributor

is a good feature ignore the files and directories in .gitignore file ?

normally .gitignore have files/directories like coverage, lib-cov, results, etc

@danielstjules
Copy link
Owner

Have you found this to be an issue? jsinspect only looks at .jsx and js files, and you can specify specific paths to ignore as well using the --ignore flag.

@juanpabloaj
Copy link
Contributor Author

is not a issue, only is a comment or a suggestion.

when I use istanbul over this repo, and run jsinspect, jsinspect take the coverage dir

$ git clone git@github.com:danielstjules/jsinspect.git
$ istanbul cover _mocha -R spec spec
$ jsinspect | grep coverage

@qfox
Copy link

qfox commented Jul 7, 2015

Just fyi: If you would go gitignore way you could use ignore package ;-)

@danielstjules
Copy link
Owner

I don't think I'll be adding this functionality to jsinspect. It should be easy to workaround it though when specifying paths or ignore patterns :)

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

No branches or pull requests

3 participants