Skip to content

Commit d4115eb

Browse files
authored
Added rules to exclude import react in scope (#69)
1 parent 9abc0d5 commit d4115eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

react-typescript.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ module.exports = {
44
'plugin:@typescript-eslint/recommended'
55
],
66
rules: {
7+
'react/jsx-uses-react': 'off',
8+
'react/react-in-jsx-scope': 'off',
79
'no-use-before-define': 'off',
810
'@typescript-eslint/no-use-before-define': ['error'],
911
'no-shadow': 'off',

0 commit comments

Comments
 (0)