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

Ignored File Warnings #44

Closed
Closed

Description

@kentcdodds

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?

Activity

  1. MoOx commented on Jun 9, 2015

    @MoOx
    Contributor

    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

  2. MoOx commented on Jun 14, 2015

    @MoOx
    Contributor

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

  3. MoOx commented on Jun 14, 2015

    @MoOx
    Contributor

    "Fix" released as 0.13

  4. kentcdodds commented on Jun 14, 2015

    @kentcdodds
    Author

    I just ignored the ignore warning :)

    nice. Thanks @MoOx!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions