diff --git a/react/rules/typescript.js b/react/rules/typescript.js index 73102d4..dfdb1f5 100644 --- a/react/rules/typescript.js +++ b/react/rules/typescript.js @@ -7,7 +7,11 @@ module.exports = { warnOnUnsupportedTypeScriptVersion: true }, rules: { - 'react/prop-types': 'off' + 'react/prop-types': 'off', + + // https://github.com/typescript-eslint/typescript-eslint/issues/2502 + 'no-use-before-define': 'off', + '@typescript-eslint/no-use-before-define': 'error' } } ]