Skip to content
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

Add note about how to disable eslint in gatsby #17986

Closed
JimLynchCodes opened this issue Sep 29, 2019 · 2 comments · Fixed by #19171
Closed

Add note about how to disable eslint in gatsby #17986

JimLynchCodes opened this issue Sep 29, 2019 · 2 comments · Fixed by #19171
Labels
help wanted Issue with a clear description that the community can help with. type: documentation An issue or pull request for improving or updating Gatsby's documentation

Comments

@JimLynchCodes
Copy link
Contributor

JimLynchCodes commented Sep 29, 2019

I have deleted all my prettier and .eslint files, but when I fun gatsby develop I still get erros about linting.

I don't want to use any linting at all. How do I disable it??

Edit:

Maybe we should add a small note at the bottom of https://www.gatsbyjs.org/docs/eslint/ explaining how to disable it?

@pieh pieh added the type: question or discussion Issue discussing or asking a question about Gatsby label Oct 7, 2019
@pieh
Copy link
Contributor

pieh commented Oct 7, 2019

Gatsby adds barebones eslint loader when you don't have any .eslint files - You can create empty .eslintrc file, which will disable it completely (as gatsby assumes once you have eslint file, you are in charge of linting)

@gatsbot gatsbot bot added the stale? Issue that may be closed soon due to the original author not responding any more. label Oct 28, 2019
@sidharthachatterjee sidharthachatterjee added Hacktoberfest help wanted Issue with a clear description that the community can help with. labels Oct 28, 2019
@sidharthachatterjee sidharthachatterjee changed the title "Gatsby Develop" Runs Linting... Add note about how to disable eslint in gatsby Oct 28, 2019
@sidharthachatterjee sidharthachatterjee added type: documentation An issue or pull request for improving or updating Gatsby's documentation and removed stale? Issue that may be closed soon due to the original author not responding any more. type: question or discussion Issue discussing or asking a question about Gatsby labels Oct 28, 2019
@gatsbyjs gatsbyjs deleted a comment from gatsbot bot Oct 28, 2019
@ThomasJanUta
Copy link

ThomasJanUta commented Oct 31, 2019

I created a pull request to fix this issue with #19171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Issue with a clear description that the community can help with. type: documentation An issue or pull request for improving or updating Gatsby's documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants