Skip to content

Commit a1a6a5b

Browse files
committed
release: 2.1.0
1 parent f49c444 commit a1a6a5b

File tree

22 files changed

+70
-26
lines changed

22 files changed

+70
-26
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
## v2.0.7 (2025-10-13)
2+
3+
### ✨ New
4+
5+
- Add `strict`, `strict-typescript`, and `strict-type-checked` presets by @Rel1cx
6+
- Add `no-deprecated` preset to enable all rules that report deprecated React APIs by @Rel1cx
7+
8+
### 🪄 Improvements
9+
10+
- Move some rules from `recommended` presets to `strict` presets by @Rel1cx, closes #1262
11+
- `react-x/no-unstable-context-value`
12+
- `react-x/no-unstable-default-props`
13+
- `react-x/no-unused-class-component-members`
14+
- `react-x/no-unused-state`
15+
- `react-dom/no-missing-button-type`
16+
- `react-dom/no-missing-iframe-sandbox`
17+
- `react-dom/no-unsafe-iframe-sandbox`
18+
- `react-dom/no-unsafe-target-blank`
19+
- Change `typescript` peer dependency version range from `^5.9.2` to `^5` by @Rel1cx
20+
21+
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v2.0.6...v2.0.7
22+
123
## v2.0.6 (2025-10-03)
224

325
### 🐞 Fixes

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
>
5858
> - Node.js: 20.19.0
5959
> - ESLint: 9.36.0
60-
> - TypeScript: 5.9.2
60+
> - TypeScript: 5
6161
6262
### Install
6363

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.0-beta.7
1+
2.1.0

apps/website/content/docs/changelog.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22
title: Changelog
33
---
44

5+
## v2.0.7 (2025-10-13)
6+
7+
### ✨ New
8+
9+
- Add `strict`, `strict-typescript`, and `strict-type-checked` presets by @Rel1cx
10+
- Add `no-deprecated` preset to enable all rules that report deprecated React APIs by @Rel1cx
11+
12+
### 🪄 Improvements
13+
14+
- Move some rules from `recommended` presets to `strict` presets by @Rel1cx, closes #1262
15+
- `react-x/no-unstable-context-value`
16+
- `react-x/no-unstable-default-props`
17+
- `react-x/no-unused-class-component-members`
18+
- `react-x/no-unused-state`
19+
- `react-dom/no-missing-button-type`
20+
- `react-dom/no-missing-iframe-sandbox`
21+
- `react-dom/no-unsafe-iframe-sandbox`
22+
- `react-dom/no-unsafe-target-blank`
23+
- Change `typescript` peer dependency version range from `^5.9.2` to `^5` by @Rel1cx
24+
25+
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v2.0.6...v2.0.7
26+
527
## v2.0.6 (2025-10-03)
628

729
### 🐞 Fixes

apps/website/content/docs/getting-started/typescript.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Step, Steps } from "fumadocs-ui/components/steps";
88
<Callout type="info" title="This instruction requires the following minimum versions:">
99
- Node.js: 20.19.0
1010
- ESLint: 9.36.0
11-
- TypeScript: 5.9.2
11+
- TypeScript: 5
1212
</Callout>
1313

1414
<Steps>

apps/website/content/docs/roadmap.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Minimum supported versions:
1010

1111
- [ ] Node.js: 28.x.x
1212
- [ ] ESLint: 10.x.x
13-
- [x] TypeScript: 5.9.2
13+
- [x] TypeScript: 5
1414

1515
### Removed Rules
1616

@@ -28,7 +28,7 @@ Minimum supported versions:
2828

2929
- [ ] Node.js: 24.8.0
3030
- [x] ESLint: 9.36.0
31-
- [x] TypeScript: 5.9.2
31+
- [x] TypeScript: 5
3232

3333
### New Rules
3434

@@ -54,7 +54,7 @@ Minimum supported versions:
5454

5555
- [x] Node.js: 20.19.0
5656
- [x] ESLint: 9.36.0
57-
- [x] TypeScript: 5.9.2
57+
- [x] TypeScript: 5
5858

5959
### Package Distribution
6060

apps/website/content/docs/rules/overview.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ full: true
7979
| [`no-unsafe-component-will-update`](./no-unsafe-component-will-update) | 1️⃣ | | Warns the usage of `UNSAFE_componentWillUpdate` in class components | |
8080
| [`no-unstable-context-value`](./no-unstable-context-value) | 0️⃣ | | Prevents non-stable values (i.e. object literals) from being used as a value for `Context.Provider` | |
8181
| [`no-unstable-default-props`](./no-unstable-default-props) | 0️⃣ | | Prevents using referential-type values as default props in object destructuring | |
82-
| [`no-unused-class-component-members`](./no-unused-class-component-members) | 1️⃣ | | Warns unused class component methods and properties | |
82+
| [`no-unused-class-component-members`](./no-unused-class-component-members) | 0️⃣ | | Warns unused class component methods and properties | |
8383
| [`no-unused-props`](./no-unused-props) | 0️⃣ | `🧪` `💭` | Warns component props that are defined but never used | |
8484
| [`no-unused-state`](./no-unused-state) | 0️⃣ | | Warns unused class component state | |
8585
| [`no-use-context`](./no-use-context) | 1️⃣ | `🔄` | Replaces usages of `useContext` with `use` | >=19.0.0 |
@@ -99,16 +99,16 @@ full: true
9999
| [`no-find-dom-node`](./dom-no-find-dom-node) | 2️⃣ | | Disallow `findDOMNode` | |
100100
| [`no-flush-sync`](./dom-no-flush-sync) | 2️⃣ | | Disallow `flushSync` | |
101101
| [`no-hydrate`](./dom-no-hydrate) | 2️⃣ | `🔄` | Replaces usages of `ReactDom.hydrate()` with `hydrateRoot()` | >=18.0.0 |
102-
| [`no-missing-button-type`](./dom-no-missing-button-type) | 1️⃣ | `🔧` | Enforces explicit `type` attribute for `button` elements | |
103-
| [`no-missing-iframe-sandbox`](./dom-no-missing-iframe-sandbox) | 1️⃣ | `🔧` | Enforces explicit `sandbox` attribute for `iframe` elements | |
102+
| [`no-missing-button-type`](./dom-no-missing-button-type) | 0️⃣ | `🔧` | Enforces explicit `type` attribute for `button` elements | |
103+
| [`no-missing-iframe-sandbox`](./dom-no-missing-iframe-sandbox) | 0️⃣ | `🔧` | Enforces explicit `sandbox` attribute for `iframe` elements | |
104104
| [`no-namespace`](./dom-no-namespace) | 2️⃣ | | Enforces the absence of a `namespace` in React elements | |
105105
| [`no-render`](./dom-no-render) | 2️⃣ | `🔄` | Replaces usages of `ReactDom.render()` with `createRoot(node).render()` | >=18.0.0 |
106106
| [`no-render-return-value`](./dom-no-render-return-value) | 2️⃣ | | Disallow the return value of `ReactDOM.render` | |
107107
| [`no-script-url`](./dom-no-script-url) | 1️⃣ | | Disallow `javascript:` URLs as attribute values | |
108108
| [`no-string-style-prop`](./dom-no-string-style-prop) | 2️⃣ | | Disallow string values for the `style` prop | |
109109
| [`no-unknown-property`](./dom-no-unknown-property) | 0️⃣ | `🔧` `⚙️` | Disallow unknown `DOM` property | |
110-
| [`no-unsafe-iframe-sandbox`](./dom-no-unsafe-iframe-sandbox) | 1️⃣ | | Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations | |
111-
| [`no-unsafe-target-blank`](./dom-no-unsafe-target-blank) | 1️⃣ | `🔧` | Disallow `target="_blank"` without `rel="noreferrer noopener"` | |
110+
| [`no-unsafe-iframe-sandbox`](./dom-no-unsafe-iframe-sandbox) | 0️⃣ | | Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations | |
111+
| [`no-unsafe-target-blank`](./dom-no-unsafe-target-blank) | 0️⃣ | `🔧` | Disallow `target="_blank"` without `rel="noreferrer noopener"` | |
112112
| [`no-use-form-state`](./dom-no-use-form-state) | 2️⃣ | `🔄` | Replaces usages of `useFormState` with `useActionState` | >=19.0.0 |
113113
| [`no-void-elements-with-children`](./dom-no-void-elements-with-children) | 2️⃣ | | Disallow `children` in void DOM elements | |
114114
| [`prefer-namespace-import`](./dom-prefer-namespace-import) | 0️⃣ | `🔧` | Enforces React DOM is imported via a namespace import | |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/monorepo",
3-
"version": "2.1.0-beta.7",
3+
"version": "2.1.0",
44
"private": true,
55
"description": "Monorepo for eslint-plugin-react-[x, dom, web-api, hooks-extra, naming-convention].",
66
"keywords": [

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/core",
3-
"version": "2.1.0-beta.7",
3+
"version": "2.1.0",
44
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",
55
"homepage": "https://github.com/Rel1cx/eslint-react",
66
"bugs": {

packages/plugins/eslint-plugin-react-debug/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-debug",
3-
"version": "2.1.0-beta.7",
3+
"version": "2.1.0",
44
"description": "ESLint React's ESLint plugin for debugging related rules.",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)