Skip to content

Commit ecc83b1

Browse files
committed
docs: update CHANGELOG.md
1 parent 55e53e9 commit ecc83b1

File tree

7 files changed

+58
-11
lines changed

7 files changed

+58
-11
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
## v0.9.4 (Fri Dec 8 2023)
2+
3+
### Release Notes
4+
5+
---
6+
7+
#### 📝 Documentation
8+
9+
- `@eslint-react/website`
10+
- Improve rule docs.
11+
- Rename "ESLint x React" to "ESLint React".
12+
13+
#### Authors: 1
14+
15+
- Eva1ent ([@Rel1cx](https://github.com/Rel1cx))
16+
17+
---
18+
19+
## v0.9.3 (Fri Dec 8 2023)
20+
21+
### Release Notes
22+
23+
#### Add rule `react/no-direct-mutation-state`
24+
25+
#### Add rule `naming-convention/use-state`
26+
27+
#### Update `recommended` and `recommended-legacy` presets
28+
29+
---
30+
31+
#### 🏠 Internal
32+
33+
- `@eslint-react/eslint-plugin-react`
34+
- Add rule `react/no-direct-mutation-state`.
35+
- Add rule `naming-convention/use-state`.
36+
37+
#### 📝 Documentation
38+
39+
- `@eslint-react/website`
40+
- Improve rules overview page.
41+
42+
#### Authors: 1
43+
44+
- Eva1ent ([@Rel1cx](https://github.com/Rel1cx))
45+
46+
---
47+
148
## v0.9.3 (Draft)
249

350
### Release Notes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"eslint-plugin-functional-core": "1.7.1",
8282
"eslint-plugin-jsdoc": "46.9.0",
8383
"eslint-plugin-total-functions": "7.1.0",
84-
"eslint-plugin-vitest": "0.3.10",
84+
"eslint-plugin-vitest": "0.3.12",
8585
"fast-equals": "5.0.1",
8686
"fast-glob": "3.3.2",
8787
"husky": "8.0.3",

packages/eslint-plugin-react/src/rules/no-children-only.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default createRule<[], MessageID>({
1414
meta: {
1515
type: "problem",
1616
docs: {
17-
description: "disallow `Children.only()`",
17+
description: "disallow `Children.only`",
1818
requiresTypeChecking: false,
1919
},
2020
schema: [],

packages/eslint-plugin-react/src/rules/no-children-to-array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Restriction.
88

99
## What it does
1010

11-
Checks usage of `React.Children.toArray()`.
11+
Checks usage of `React.Children.toArray`.
1212

1313
## Why is this bad?
1414

packages/eslint-plugin-react/src/rules/no-children-to-array.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default createRule<[], MessageID>({
1414
meta: {
1515
type: "problem",
1616
docs: {
17-
description: "disallow `Children.toArray()`",
17+
description: "disallow `Children.toArray`",
1818
requiresTypeChecking: false,
1919
},
2020
schema: [],

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/pages/rules/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
- [`react/no-children-for-each`](react-no-children-for-each) - disallow `Children.forEach`
2626
- [`react/no-children-in-void-dom-elements`](react-no-children-in-void-dom-elements) - disallow passing `children` to void DOM elements
2727
- [`react/no-children-map`](react-no-children-map) - disallow `Children.map`
28-
- [`react/no-children-only`](react-no-children-only) - disallow `Children.only()`
28+
- [`react/no-children-only`](react-no-children-only) - disallow `Children.only`
2929
- [`react/no-children-prop`](react-no-children-prop) - disallow passing of `children` as props
30-
- [`react/no-children-to-array`](react-no-children-to-array) - disallow `Children.toArray()`
30+
- [`react/no-children-to-array`](react-no-children-to-array) - disallow `Children.toArray`
3131
- [`react/no-class-component`](react-no-class-component) - disallow `class component`
3232
- [`react/no-clone-element`](react-no-clone-element) - disallow `cloneElement`
3333
- [`react/no-component-will-mount`](react-no-component-will-mount) - disallow `componentWillMount`

0 commit comments

Comments
 (0)