Skip to content

Commit 093cade

Browse files
committed
Remove beta tags for strict presets and update rule configurations in
docs and configs
1 parent bdf5f55 commit 093cade

File tree

94 files changed

+289
-71
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+289
-71
lines changed

.pkgs/configs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@stylistic/eslint-plugin": "^5.4.0",
2424
"eslint-plugin-de-morgan": "^2.0.0",
2525
"eslint-plugin-function": "^0.0.32",
26-
"eslint-plugin-jsdoc": "^61.1.0",
26+
"eslint-plugin-jsdoc": "^61.1.1",
2727
"eslint-plugin-perfectionist": "^4.15.1",
2828
"eslint-plugin-regexp": "^2.10.0",
2929
"eslint-plugin-unicorn": "^61.0.2",

.pkgs/eslint-plugin-local/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@typescript-eslint/types": "^8.46.0",
3333
"@typescript-eslint/utils": "^8.46.0",
3434
"eslint-plugin-de-morgan": "^2.0.0",
35-
"eslint-plugin-jsdoc": "^61.1.0",
35+
"eslint-plugin-jsdoc": "^61.1.1",
3636
"eslint-plugin-perfectionist": "^4.15.1",
3737
"eslint-plugin-regexp": "^2.10.0",
3838
"eslint-plugin-unicorn": "^61.0.2",

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export default defineConfig([
123123

124124
## General Purpose
125125

126-
- `strict` (beta)\
126+
- `strict`\
127127
Same as the `recommended` preset but enables additional strict rules.
128128

129129
- `recommended`\
@@ -132,10 +132,10 @@ export default defineConfig([
132132

133133
## TypeScript Specialized
134134

135-
- `strict-typescript` (beta)\
135+
- `strict-typescript`\
136136
Same as the `strict` preset but disables rules that can be enforced by TypeScript.
137137

138-
- `strict-type-checked` (beta)\
138+
- `strict-type-checked`\
139139
Same as the `strict-typescript` preset but enables additional rules that require type information.
140140

141141
- `recommended-typescript`\

apps/website/content/docs/presets.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The following presets are available in `@eslint-react/eslint-plugin`:
1515

1616
## General Purpose
1717

18-
- `strict` (beta)\
18+
- `strict`\
1919
Same as the `recommended` preset but enables additional strict rules.
2020

2121
- `recommended`\
@@ -24,10 +24,10 @@ The following presets are available in `@eslint-react/eslint-plugin`:
2424

2525
## TypeScript Specialized
2626

27-
- `strict-typescript` (beta)\
27+
- `strict-typescript`\
2828
Same as the `strict` preset but disables rules that can be enforced by TypeScript.
2929

30-
- `strict-type-checked` (beta)\
30+
- `strict-type-checked`\
3131
Same as the `strict-typescript` preset but enables additional rules that require type information.
3232

3333
- `recommended-typescript`\

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ full: true
7777
| [`no-unsafe-component-will-mount`](./no-unsafe-component-will-mount) | 1️⃣ | | Warns the usage of `UNSAFE_componentWillMount` in class components | |
7878
| [`no-unsafe-component-will-receive-props`](./no-unsafe-component-will-receive-props) | 1️⃣ | | Warns the usage of `UNSAFE_componentWillReceiveProps` in class components | |
7979
| [`no-unsafe-component-will-update`](./no-unsafe-component-will-update) | 1️⃣ | | Warns the usage of `UNSAFE_componentWillUpdate` in class components | |
80-
| [`no-unstable-context-value`](./no-unstable-context-value) | 1️⃣ | | Prevents non-stable values (i.e. object literals) from being used as a value for `Context.Provider` | |
81-
| [`no-unstable-default-props`](./no-unstable-default-props) | 1️⃣ | | Prevents using referential-type values as default props in object destructuring | |
80+
| [`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` | |
81+
| [`no-unstable-default-props`](./no-unstable-default-props) | 0️⃣ | | Prevents using referential-type values as default props in object destructuring | |
8282
| [`no-unused-class-component-members`](./no-unused-class-component-members) | 1️⃣ | | Warns unused class component methods and properties | |
8383
| [`no-unused-props`](./no-unused-props) | 0️⃣ | `🧪` `💭` | Warns component props that are defined but never used | |
84-
| [`no-unused-state`](./no-unused-state) | 1️⃣ | | Warns unused class component state | |
84+
| [`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 |
8686
| [`no-useless-forward-ref`](./no-useless-forward-ref) | 1️⃣ | | Disallow useless `forwardRef` calls on components that don't use `ref`s | |
8787
| [`no-useless-fragment`](./no-useless-fragment) | 0️⃣ | `🔧` `⚙️` | Disallow useless fragment elements | |

packages/plugins/eslint-plugin-react-dom/src/rules/no-dangerously-set-innerhtml-with-children.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ react-dom/no-dangerously-set-innerhtml-with-children
1717
**Presets**
1818

1919
- `dom`
20+
- `strict`
21+
- `strict-typescript`
22+
- `strict-type-checked`
2023
- `recommended`
2124
- `recommended-typescript`
2225
- `recommended-type-checked`

packages/plugins/eslint-plugin-react-dom/src/rules/no-dangerously-set-innerhtml.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ react-dom/no-dangerously-set-innerhtml
1717
**Presets**
1818

1919
- `dom`
20+
- `strict`
21+
- `strict-typescript`
22+
- `strict-type-checked`
2023
- `recommended`
2124
- `recommended-typescript`
2225
- `recommended-type-checked`

packages/plugins/eslint-plugin-react-dom/src/rules/no-find-dom-node.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ react-dom/no-find-dom-node
1717
**Presets**
1818

1919
- `dom`
20+
- `strict`
21+
- `strict-typescript`
22+
- `strict-type-checked`
2023
- `recommended`
2124
- `recommended-typescript`
2225
- `recommended-type-checked`

packages/plugins/eslint-plugin-react-dom/src/rules/no-flush-sync.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ react-dom/no-flush-sync
1717
**Presets**
1818

1919
- `dom`
20+
- `strict`
21+
- `strict-typescript`
22+
- `strict-type-checked`
2023
- `recommended`
2124
- `recommended-typescript`
2225
- `recommended-type-checked`

packages/plugins/eslint-plugin-react-dom/src/rules/no-hydrate.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ react-dom/no-hydrate
2121
**Presets**
2222

2323
- `dom`
24+
- `strict`
25+
- `strict-typescript`
26+
- `strict-type-checked`
2427
- `recommended`
2528
- `recommended-typescript`
2629
- `recommended-type-checked`

0 commit comments

Comments
 (0)