I think you are looking for this
https://github.com/eslint/eslint/issues/3611

On Sun, Mar 6, 2016 at 8:58 PM Konstantin Tarkus <[email protected]> wrote:

> It is a common pattern to have unit tests co-located with the the source
> files under test, e.g.:
>
> /components/Navigation/Navigation.js +
> /components/Navigation/Navigation.spec.js (unit test for it)
>
> Is there a way to make ESLint ignore *.spec.js files in this case? So that
> one could provide different .eslintrc configuration files for regular
> source files and *.spec.js files located within the same root folder?
>
> --
> You received this message because you are subscribed to the Google Groups
> "ESLint" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to