eslint-plugin-react-hooks 6.2.0-canary-4fdf7cf2-20251003 → 6.2.0-canary-c7862584-20251006

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,10 @@
1
1
  import * as estree from 'estree';
2
2
  import { Rule, Linter } from 'eslint';
3
3
 
4
+ type FlatConfig = {
5
+ plugins: Record<string, any>;
6
+ rules: Linter.RulesRecord;
7
+ };
4
8
  declare const plugin: {
5
9
  meta: {
6
10
  name: string;
@@ -81,9 +85,9 @@ declare const plugin: {
81
85
  plugins: Array<string>;
82
86
  rules: Linter.RulesRecord;
83
87
  };
84
- "flat/recommended": Array<Linter.Config>;
85
- "recommended-latest": Array<Linter.Config>;
86
- recommended: Array<Linter.Config>;
88
+ "flat/recommended": Array<FlatConfig>;
89
+ "recommended-latest": Array<FlatConfig>;
90
+ recommended: Array<FlatConfig>;
87
91
  };
88
92
  };
89
93
 
package/index.d.ts CHANGED
@@ -5,4 +5,4 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- export * from './cjs/eslint-plugin-react-hooks';
8
+ export {default} from './cjs/eslint-plugin-react-hooks';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-hooks",
3
3
  "description": "ESLint rules for React Hooks",
4
- "version": "6.2.0-canary-4fdf7cf2-20251003",
4
+ "version": "6.2.0-canary-c7862584-20251006",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/facebook/react.git",