Gatsby: How to disable ESLint completely?

Created on 13 Sep 2019  路  5Comments  路  Source: gatsbyjs/gatsby

I want to remove ESLint from my Gatsby site completely, but Gatsby doesn't seem to provide a way to do this.

stale? question or discussion

Most helpful comment

Try making a .eslintignore file with * or src/* or something like that?

https://eslint.org/docs/user-guide/configuring

All 5 comments

Try making a .eslintignore file with * or src/* or something like that?

https://eslint.org/docs/user-guide/configuring

@r-i-c-h Is it possible to make Gatsby not to call ESLint at all, so that I can remove the eslint dev dependency?

You should be able to create an empty .eslintrcor .eslintrc.js file and the eslint config shipped by default should be overwritten.

https://www.gatsbyjs.org/docs/eslint/#how-to-use-eslint

Gatsby ships with a built-in ESLint setup. For most users, our built-in ESlint setup is all you need. If you know however that you鈥檇 like to customize your ESlint config e.g. your company has their own custom ESlint setup, this shows how this can be done.

Why do you want to remove ESLint though? It's highly beneficial for your code's quality.

Hiya!

This issue has gone quiet. Spooky quiet. 馃懟

We get a lot of issues, so we currently close issues after 30 days of inactivity. It鈥檚 been at least 20 days since the last update here.

If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the Gatsby community! 馃挭馃挏

I would like this as well, but for a slightly different reason. I'm having some problems with the eslint setup of Gatsby and would like to setup eslint myself as normal instead of having it included in Gatsby.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andykais picture andykais  路  3Comments

timbrandin picture timbrandin  路  3Comments

3CordGuy picture 3CordGuy  路  3Comments

ghost picture ghost  路  3Comments

brandonmp picture brandonmp  路  3Comments