Skip to content

Commit 998d6a7

Browse files
committed
release: 1.0.0
1 parent 97bce6d commit 998d6a7

File tree

19 files changed

+119
-91
lines changed

19 files changed

+119
-91
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
## v1.0.0 (Sat Jan 27 2024)
2+
3+
### 💥 Breaking Changes
4+
5+
#### All DOM related rules are moved to `react-dom` namespace
6+
7+
- Rename rule `react/no-dangerously-set-innerhtml` to `react-dom/no-dangerously-set-innerhtml`.
8+
- Rename rule `react/no-dangerously-set-innerhtml-with-children` to `react-dom/no-dangerously-set-innerhtml-with-children`.
9+
- Rename rule `react/no-find-dom-node` to `react-dom/no-find-dom-node`.
10+
- Rename rule `react/no-missing-button-type` to `react-dom/no-missing-button-type`.
11+
- Rename rule `react/no-missing-iframe-sandbox` to `react-dom/no-missing-iframe-sandbox`.
12+
- Rename rule `react/no-script-url` to `react-dom/no-script-url`.
13+
- Rename rule `react/no-unsafe-iframe-sandbox` to `react-dom/no-unsafe-iframe-sandbox`.
14+
- Rename rule `react/no-unsafe-target-blank` to `react-dom/no-unsafe-target-blank`.
15+
16+
### ✨ New
17+
18+
- Make `dom` an alias of `react-dom` preset.
19+
- Make `hooks` an alias of `react-hooks` preset.
20+
- Add preset `jsx` and `jsx-legacy`.
21+
- Add preset `react-dom` and `dom-legacy`.
22+
- Add preset `core` and `core-legacy`.
23+
- Add preset `react-hooks` and `hooks-legacy`.
24+
25+
### 🐞 Fixes
26+
27+
- Fix the lint message for rule `react/no-dangerously-set-innerhtml`.
28+
129
## v1.0.0-beta.3 (Fri Jan 26 2024)
230

331
### 🐞 Fixes

VERSION

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

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/monorepo",
3-
"version": "1.0.0-beta.3",
3+
"version": "1.0.0",
44
"description": "A platform for creating ESLint rules for not just for ReactDOM but also other libraries and frameworks that use React as a runtime.",
55
"keywords": [
66
"eslint",
@@ -63,11 +63,11 @@
6363
"@swc/core": "1.3.106",
6464
"@tsconfig/node20": "20.1.2",
6565
"@tsconfig/strictest": "2.0.2",
66-
"@types/node": "20.11.6",
66+
"@types/node": "20.11.7",
6767
"@typescript-eslint/eslint-plugin": ">=6.19.1",
6868
"@typescript-eslint/parser": ">=6.19.1",
6969
"@typescript-eslint/rule-tester": ">=6.19.1",
70-
"@vitest/ui": "1.2.1",
70+
"@vitest/ui": "1.2.2",
7171
"bun": "1.0.25",
7272
"bun-types": "1.0.25",
7373
"cspell": "8.3.2",
@@ -79,7 +79,7 @@
7979
"eslint-plugin-eslint-plugin": "5.2.1",
8080
"eslint-plugin-filenames-simple": "0.9.0",
8181
"eslint-plugin-functional": "6.0.0",
82-
"eslint-plugin-jsdoc": "48.0.3",
82+
"eslint-plugin-jsdoc": "48.0.4",
8383
"eslint-plugin-total-functions": "7.1.0",
8484
"eslint-plugin-vitest": "0.3.20",
8585
"fast-equals": "5.0.1",
@@ -103,7 +103,7 @@
103103
"typedoc-plugin-mermaid": "1.10.0",
104104
"typedoc-plugin-rename-defaults": "0.7.0",
105105
"typescript": ">=5.3.3",
106-
"vitest": "1.2.1"
106+
"vitest": "1.2.2"
107107
},
108108
"packageManager": "[email protected]",
109109
"engines": {

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": "1.0.0-beta.3",
3+
"version": "1.0.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-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-react/eslint-plugin-debug",
3-
"version": "1.0.0-beta.3",
3+
"version": "1.0.0",
44
"description": "ESLint React's ESLint plugin for debugging related rules.",
55
"homepage": "https://github.com/rel1cx/eslint-react",
66
"bugs": {

packages/plugins/eslint-plugin-jsx/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/eslint-plugin-jsx",
3-
"version": "1.0.0-beta.3",
3+
"version": "1.0.0",
44
"description": "ESLint React's ESLint plugin for JSX related rules.",
55
"homepage": "https://github.com/rel1cx/eslint-react",
66
"bugs": {

packages/plugins/eslint-plugin-naming-convention/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/eslint-plugin-naming-convention",
3-
"version": "1.0.0-beta.3",
3+
"version": "1.0.0",
44
"description": "ESLint React's ESLint plugin for naming convention related rules.",
55
"homepage": "https://github.com/rel1cx/eslint-react",
66
"bugs": {

packages/plugins/eslint-plugin-react-dom/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/eslint-plugin-react-dom",
3-
"version": "1.0.0-beta.3",
3+
"version": "1.0.0",
44
"description": "ESLint React's ESLint plugin for React DOM related rules.",
55
"homepage": "https://github.com/rel1cx/eslint-react",
66
"bugs": {

packages/plugins/eslint-plugin-react-hooks/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/eslint-plugin-react-hooks",
3-
"version": "1.0.0-beta.3",
3+
"version": "1.0.0",
44
"description": "ESLint React's ESLint plugin for React Hooks related rules.",
55
"homepage": "https://github.com/rel1cx/eslint-react",
66
"bugs": {

packages/plugins/eslint-plugin-react/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/eslint-plugin-react",
3-
"version": "1.0.0-beta.3",
3+
"version": "1.0.0",
44
"description": "ESLint React's ESLint plugin for React related rules.",
55
"homepage": "https://github.com/rel1cx/eslint-react",
66
"bugs": {

0 commit comments

Comments
 (0)