@eslint-react/kit 4.2.3 → 4.2.5-beta.0
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.
- package/README.md +2 -2
- package/dist/index.d.ts +2362 -36
- package/dist/index.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -501,7 +501,7 @@ This is a simplified kit reimplementation of the built-in [`react-x/component-ho
|
|
|
501
501
|
```ts
|
|
502
502
|
import type { RuleFunction } from "@eslint-react/kit";
|
|
503
503
|
import { merge } from "@eslint-react/kit";
|
|
504
|
-
import type { TSESTree } from "@typescript-eslint/
|
|
504
|
+
import type { TSESTree } from "@typescript-eslint/types";
|
|
505
505
|
|
|
506
506
|
function componentHookFactories(): RuleFunction {
|
|
507
507
|
function findParent({ parent }: TSESTree.Node, test: (n: TSESTree.Node) => boolean): TSESTree.Node | null {
|
|
@@ -602,4 +602,4 @@ export default [
|
|
|
602
602
|
|
|
603
603
|
## More Examples
|
|
604
604
|
|
|
605
|
-
Please check the [Rule Recipes](https://www.eslint-react.xyz/docs/recipes
|
|
605
|
+
Please check the [Rule Recipes](https://www.eslint-react.xyz/docs/recipes) in the documentation site.
|