Skip to content

Commit

Permalink
fix: disable react/function-component-definition for next projects
Browse files Browse the repository at this point in the history
  • Loading branch information
ASafaeirad committed Jun 7, 2023
1 parent 1c7e47d commit 0e86b0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions next.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/** @type { import('eslint').Linter.Config } */
module.exports = {
extends: ['next/core-web-vitals'],
rules: {
'react/function-component-definition': 'off',
},
};

0 comments on commit 0e86b0e

Please sign in to comment.