-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Gatsby's .eslintignore being ignored #837
Comments
So it turns out you can add multiple https://travis-ci.org/gatsbyjs/gatsby/builds/224775750 Thanks for doing the background research on this! |
I'm afraid that's not true 😔 I had a
|
Oh hmmm... |
An easy (but not very scalable/optimal) solution would be to perhaps use |
I guess we could just ignore the interfaces directory directly in the command. Trying that 06a4b45 |
Heh, our brain waves connected! |
It worked! Works locally as well, with an existing dist folder :) |
💯 |
Gatsby version: 0.12.45
Hi, I noticed that
npm test
on master fails due to some linting problems ininterfaces
folder, however this folder is actually specified in.eslintignore
. But because linting is configured with--ignore-path .gitignore
inpackage.json
,.eslintignore
is ignored in favour of.gitignore
.From ESLint docs:
Short of copying the contents of
.gitignore
into.eslintignore
, I'm not sure what the best way to combine.eslintignore
and.gitignore
is.You can scroll to the bottom of this recent build log to see the exact error
The text was updated successfully, but these errors were encountered: