Skip to content

Commit 5ad9891

Browse files
committed
docs: minor improvements
1 parent 29824ec commit 5ad9891

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ESLint React Contributing Guide
22

33
> [!NOTE]\
4-
> FYI: The ESLint Raect project is not a fork of the `eslint-plugin-react` project and meanwhile `eslint-plugin-react` is not the upstream of ESLint React.\
4+
> FYI: The ESLint Raect is not a fork of the `eslint-plugin-react` and meanwhile `eslint-plugin-react` is not the upstream of ESLint React.\
55
> Therefore, the rules and features you see in `eslint-plugin-react` may not necessarily appear in ESLint React and its plugins.
66
77
Hi! We, the maintainers, are really excited that you are interested in contributing to ESLint React.

apps/website/content/docs/configurations.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,13 @@ then the React Hook call:
119119
useIsomorphicLayoutEffect(() => { setCount(count => count + 1); }, []);
120120
```
121121

122-
will be evaluated as an:
122+
will be evaluated as:
123+
124+
```tsx
125+
useEffect(() => { setCount(count => count + 1); }, []);
126+
```
127+
128+
and:
123129

124130
```tsx
125131
useLayoutEffect(() => { setCount(count => count + 1); }, []);

0 commit comments

Comments
 (0)