packages/eslint-plugin-react-hooks/index.js
@@ -1 +1,11 @@
1
module.exports = require('./src/index.ts');
2
+
3
+// Hint to Node’s cjs-module-lexer to make named imports work
4
+// https://github.com/facebook/react/issues/34801#issuecomment-3433478810
5
+// eslint-disable-next-line ft-flow/no-unused-expressions
6
+0 &&
7
+ (module.exports = {
8
+ meta: true,
9
+ rules: true,
10
+ configs: true,
11
+ });
0 commit comments