Skip to content

Commit

Permalink
Add note how to enable eslint-loader with custom config (#19399)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonicious authored and GatsbyJS Bot committed Nov 12, 2019
1 parent fdc7ccd commit 702f8e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ module.exports = {
}
```

Note: If you provide a custom `.eslintrc.js` file, Gatsby gives you full control about the ESLint configuration. This means that it will disable the built-in `eslint-loader` and you need to enable it yourself. One way to do so is to use the Community plugin [`gatsby-eslint-plugin`](/packages/gatsby-plugin-eslint/).

If you want to disable ESLint completely, create an empty `.eslintrc` file.

0 comments on commit 702f8e1

Please sign in to comment.