Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chungweileong94 committed Oct 8, 2020
1 parent 29a794c commit 5e5f7b9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion react/rules/typescript.js
Expand Up @@ -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'
}
}
]
Expand Down

0 comments on commit 5e5f7b9

Please sign in to comment.