-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Closed
Description
Gatsby version: 0.12.45
Hi, I noticed that npm test on master fails due to some linting problems in interfaces folder, however this folder is actually specified in .eslintignore. But because linting is configured with --ignore-path .gitignore in package.json, .eslintignore is ignored in favour of .gitignore.
{
"scripts": {
"lint": "eslint --ext .js,.jsx --ignore-path .gitignore ."
}
}From ESLint docs:
Keep in mind that specifying
--ignore-pathmeans that any existing.eslintignorefile will not be used.
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
Metadata
Metadata
Assignees
Labels
No labels