Skip to content

Commit

Permalink
Adjust typescript-eslint to not warn about typedefs when used before …
Browse files Browse the repository at this point in the history
…defined (#7079)
  • Loading branch information
vincentjames501 authored and ianschmitz committed May 20, 2019
1 parent 4704382 commit bdaccf7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/eslint-config-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit bdaccf7

Please sign in to comment.