Skip to content

Commit f631b07

Browse files
authored
Merge pull request #74 from Marfeel/fixNoReact
fix(react-ts): react is used before it's defined error
2 parents 42b64ea + 1641e40 commit f631b07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/eslint-config-react-ts/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ module.exports = {
1111
{
1212
extensions: ['.ts', '.tsx']
1313
}
14-
]
14+
],
15+
'no-use-before-define': 'off',
16+
'@typescript-eslint/no-use-before-define': 'error'
1517
}
1618
};

0 commit comments

Comments
 (0)