diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js index bc6d0a14c4b..fbd3f2a3f97 100644 --- a/packages/eslint-config-react-app/index.js +++ b/packages/eslint-config-react-app/index.js @@ -79,6 +79,16 @@ module.exports = { 'no-array-constructor': 'off', '@typescript-eslint/no-array-constructor': 'warn', '@typescript-eslint/no-namespace': 'error', + 'no-use-before-define': 'off', + '@typescript-eslint/no-use-before-define': [ + 'warn', + { + functions: false, + classes: false, + variables: false, + typedefs: false, + }, + ], 'no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': [ 'warn',