Skip to content

Commit

Permalink
chore: add empty project .eslintrc to disable Gatsby's eslint loaders (
Browse files Browse the repository at this point in the history
  • Loading branch information
ze-flo authored Jul 30, 2024
1 parent d237097 commit 7492aa2
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 66 deletions.
16 changes: 16 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* Copyright Zendesk, Inc.
*
* Use of this source code is governed under the Apache License, Version 2.0
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/

/**
* Disables Gatsby's built-in eslint-loader called by `gatsby develop`.
* @see https://www.gatsbyjs.com/docs/how-to/custom-configuration/eslint/#disabling-eslint
* Rules required by Gatsby for fast-refresh are automatcally applied.
* @see https://github.com/gatsbyjs/gatsby/blob/gatsby%405.13.6/packages/gatsby/src/utils/webpack.config.js#L269
* @see https://github.com/gatsbyjs/gatsby/blob/gatsby%405.13.6/packages/gatsby/src/utils/webpack-utils.ts#L820-L846
* This does not interfere with this project ESLint V9's flat config.
*/
module.exports = {};
133 changes: 67 additions & 66 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7492aa2

Please sign in to comment.