Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Ignored File Warnings #44

Closed
kentcdodds opened this issue Jun 8, 2015 · 4 comments
Closed

Ignored File Warnings #44

kentcdodds opened this issue Jun 8, 2015 · 4 comments

Comments

@kentcdodds
Copy link
Contributor

I had this problem

Summarized:

Getting this:

WARNING in ./app/components/dev/custom.ignored.js

/Users/kentcdodds/Developer/alianza/atac5/app/components/dev/custom.ignored.js
  0:0  warning  File ignored because of your .eslintignore file. Use --no-ignore to override

✖ 1 problem (0 errors, 1 warning)

Any way I can silence that particular warning?
I'm explicitely ignoring that file, so I don't need/want a warning about it...
Just started getting this when I upgraded from 0.19.0 to the latest

Then later, someone mentioned the docs on the subject saying:

Documentation is stating that you shouldn't see this warning when you run eslint on a directory or multiple files, only when you run it on a single file that is being ignored
Is that not what you are seeing?

And, I explained that I'm using the eslint-loader, to which he responded:

All of the build systems usually do glob patterns first and then run eslint for each file separately
Grunt and Gulp do the same thing

Is there any way that we could get around this without having to quiet all of our warnings?

@MoOx
Copy link
Contributor

MoOx commented Jun 9, 2015

I guess the only is we have is to manually ignore this warning.
Maybe the one who add this PR have an idea about that ? /cc @mgtitimoli

@MoOx
Copy link
Contributor

MoOx commented Jun 14, 2015

Since it make no sense to send a warning for a file that should be ignored, I just ignored the ignore warning :)

@MoOx MoOx closed this as completed in d4e5df6 Jun 14, 2015
@MoOx
Copy link
Contributor

MoOx commented Jun 14, 2015

"Fix" released as 0.13

@kentcdodds
Copy link
Contributor Author

I just ignored the ignore warning :)

nice. Thanks @MoOx!

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

No branches or pull requests

2 participants