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

Ignoring files in linting #280

Closed
mateuspv opened this issue Nov 27, 2014 · 4 comments
Closed

Ignoring files in linting #280

mateuspv opened this issue Nov 27, 2014 · 4 comments
Assignees
Labels
Milestone

Comments

@mateuspv
Copy link
Contributor

@mateuspv mateuspv commented Nov 27, 2014

Hi, there's a way to ignore files to lint?
would be nice pass .eslintignore file to lint function.

@geek geek added the question label Nov 27, 2014
@geek geek self-assigned this Nov 27, 2014
@geek

This comment has been minimized.

Copy link
Member

@geek geek commented Nov 27, 2014

You can add an .eslintignore file to the root of your project and indicate what paths to ignore. This can be directories or files. Here is an example: https://github.com/hapijs/tv/blob/master/.eslintignore

@geek geek closed this Nov 27, 2014
@mateuspv

This comment has been minimized.

Copy link
Contributor Author

@mateuspv mateuspv commented Nov 27, 2014

Oks my bad I made this attempt and saw an wrong result.
Maybe we can make a reference...

@geek geek added request and removed question labels Nov 27, 2014
@geek

This comment has been minimized.

Copy link
Member

@geek geek commented Nov 27, 2014

@mateuspv great idea, we should definitely document that since its not clear. Thanks.

@geek geek reopened this Nov 27, 2014
geek added a commit that referenced this issue Nov 28, 2014
#280 Doc ignoring files in linting
@AdriVanHoudt

This comment has been minimized.

Copy link
Contributor

@AdriVanHoudt AdriVanHoudt commented Feb 16, 2015

Isn't this closed by now?

@geek geek closed this Feb 16, 2015
@geek geek added this to the 5.2.1 milestone Feb 16, 2015
@Marsup Marsup added feature and removed request labels Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.