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

Ability to ignore files/folders for CLI #295

Closed
michaelw85 opened this issue Jun 11, 2021 · 1 comment · Fixed by #298
Closed

Ability to ignore files/folders for CLI #295

michaelw85 opened this issue Jun 11, 2021 · 1 comment · Fixed by #298

Comments

@michaelw85
Copy link

Is your feature request related to a problem? Please describe.
I have an existing project with some legacy code and would like to exclude it at this point in time.
I also noticed composer files are being analyzed and reports on URLs which should be inthere.
.git is also being analyzed in my build.

Describe the solution you'd like
CLI argument to ignore paths or files with the ability to use wildcards

Describe alternatives you've considered
I am currently deleting files from my project to ignore them.

gfs added a commit that referenced this issue Jun 14, 2021
@gfs gfs closed this as completed in #298 Jun 14, 2021
gfs added a commit that referenced this issue Jun 14, 2021
* Add glob exclude option.

* Fix 297

* Fix #295

* filter earlier.
@gfs
Copy link
Contributor

gfs commented Jun 14, 2021

The next version is being built right now and supports file exclusion filters using the -g option. For example: -g **/bin/**,**/.git/**.

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