Skip to content

Commit 23ca74d

Browse files
authored
Merge branch '2.0.0-beta' into no-dangerously-set-innerhtml-with-children
Signed-off-by: REL1CX <[email protected]>
2 parents 347f1a3 + a6b9204 commit 23ca74d

File tree

288 files changed

+9020
-16186
lines changed

Some content is hidden

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

288 files changed

+9020
-16186
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-24.04-arm
1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Setup node@23
17+
- name: Setup node@24
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 23
20+
node-version: 24
2121
- name: Enable Corepack
2222
run: corepack enable
2323
- name: Install front-end dependencies

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches:
55
- main
66
- "2.0.0-next"
7+
- "2.0.0-beta"
78
tags-ignore:
89
- "**"
910
paths-ignore:
@@ -22,10 +23,10 @@ jobs:
2223
id-token: write
2324
steps:
2425
- uses: actions/checkout@v4
25-
- name: Setup node@23
26+
- name: Setup node@24
2627
uses: actions/setup-node@v4
2728
with:
28-
node-version: 23
29+
node-version: 24
2930
registry-url: "https://registry.npmjs.org"
3031
- name: Enable Corepack
3132
run: corepack enable

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ jobs:
1515
runs-on: ubuntu-24.04-arm
1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Setup node@23
18+
- name: Setup node@24
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 23
21+
node-version: 24
2222
- name: Enable Corepack
2323
run: corepack enable
2424
- name: Install front-end dependencies
2525
run: pnpm install
2626
- name: Build front-end assets
2727
run: pnpm run build
28-
- name: Test on node@23
28+
- name: Test on node@24
2929
run: pnpm run test
30-
- name: Setup node@18
30+
- name: Setup node@20
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version: 18
33+
node-version: 20
3434
- name: Enable Corepack
3535
run: corepack enable
36-
- name: Test on node@18
36+
- name: Test on node@20
3737
run: pnpm run test

.pkgs/configs/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
"lint:ts": "tsc --noEmit"
2020
},
2121
"dependencies": {
22-
"@eslint/js": "^9.31.0",
23-
"@stylistic/eslint-plugin": "^5.1.0",
24-
"eslint-plugin-de-morgan": "^1.3.0",
22+
"@eslint/js": "^9.32.0",
23+
"@stylistic/eslint-plugin": "^5.2.2",
24+
"eslint-plugin-de-morgan": "^1.3.1",
2525
"eslint-plugin-function": "^0.0.22",
26-
"eslint-plugin-jsdoc": "^51.3.4",
26+
"eslint-plugin-jsdoc": "^52.0.2",
2727
"eslint-plugin-perfectionist": "^4.15.0",
2828
"eslint-plugin-regexp": "^2.9.0",
29-
"eslint-plugin-unicorn": "^59.0.1",
30-
"typescript-eslint": "^8.36.0"
29+
"eslint-plugin-unicorn": "^60.0.0",
30+
"typescript-eslint": "^8.38.0"
3131
}
3232
}

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,31 +26,31 @@
2626
"@eslint-react/kit": "workspace:*",
2727
"@eslint-react/shared": "workspace:*",
2828
"@eslint-react/var": "workspace:*",
29-
"@eslint/js": "^9.31.0",
30-
"@stylistic/eslint-plugin": "^5.1.0",
31-
"@typescript-eslint/scope-manager": "^8.36.0",
32-
"@typescript-eslint/type-utils": "^8.36.0",
33-
"@typescript-eslint/types": "^8.36.0",
34-
"@typescript-eslint/utils": "^8.36.0",
35-
"eslint-plugin-de-morgan": "^1.3.0",
36-
"eslint-plugin-jsdoc": "^51.3.4",
29+
"@eslint/js": "^9.32.0",
30+
"@stylistic/eslint-plugin": "^5.2.2",
31+
"@typescript-eslint/scope-manager": "^8.38.0",
32+
"@typescript-eslint/type-utils": "^8.38.0",
33+
"@typescript-eslint/types": "^8.38.0",
34+
"@typescript-eslint/utils": "^8.38.0",
35+
"eslint-plugin-de-morgan": "^1.3.1",
36+
"eslint-plugin-jsdoc": "^52.0.2",
3737
"eslint-plugin-perfectionist": "^4.15.0",
3838
"eslint-plugin-regexp": "^2.9.0",
39-
"eslint-plugin-unicorn": "^59.0.1",
39+
"eslint-plugin-unicorn": "^60.0.0",
4040
"string-ts": "^2.2.1",
41-
"ts-pattern": "^5.7.1"
41+
"ts-pattern": "^5.8.0"
4242
},
4343
"devDependencies": {
4444
"@local/configs": "workspace:*",
45-
"@types/react": "^19.1.8",
46-
"@types/react-dom": "^19.1.6",
45+
"@types/react": "^19.1.9",
46+
"@types/react-dom": "^19.1.7",
4747
"tsup": "^8.5.0"
4848
},
4949
"peerDependencies": {
50-
"eslint": "^8.57.0 || ^9.0.0",
51-
"typescript": "^4.9.5 || ^5.3.3"
50+
"eslint": "^9.31.0",
51+
"typescript": "^4.9.5 || ^5.4.5"
5252
},
5353
"engines": {
54-
"node": ">=18.18.0"
54+
"node": ">=20.19.0"
5555
}
5656
}

.pkgs/eslint-plugin-local/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ export default {
1111
platform: "node",
1212
sourcemap: false,
1313
splitting: false,
14-
target: "node18",
14+
target: "node20",
1515
treeshake: true,
1616
} satisfies Options;

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"recommendations": [
33
"dprint.dprint",
4-
"dbaeumer.vscode-eslint"
4+
"dbaeumer.vscode-eslint",
5+
"darkriszty.markdown-table-prettify"
56
]
67
}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"editor.codeActionsOnSave": {
1212
"source.formatting": "explicit",
1313
"source.fixAll": "never",
14-
"source.fixAll.eslint": "explicit",
14+
"source.fixAll.eslint": "never",
1515
"source.organizeImports": "never"
1616
},
1717
"eslint.validate": [

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,18 @@
2222
- [TypeScript Specialized](#typescript-specialized)
2323
- [Other](#other)
2424
- [Rules](#rules)
25+
- [Benchmark](#benchmark)
2526
- [FAQ](#faq)
2627
- [Roadmap](#roadmap)
2728
- [Contributing](#contributing)
2829
- [License](#license)
2930

3031
## Features
3132

32-
- **Modern**: First-class support for TypeScript, React 19, and more.
33-
- **Flexible**: Fully customizable rule severity levels, allowing you to enforce or relax rules as needed.
34-
- **Performant**: Built with performance in mind, optimized for large codebases, **4-7x faster** than other ESLint plugins.
35-
- **Context-aware Linting**: Rules that understand the context of your code and project configuration to provide more accurate linting.
33+
- **Modern**: First-class support for **TypeScript**, **React 19**, and more.
34+
- **Flexible**: Fully customizable rule severity levels, allowing you to **enforce** or **relax** rules as needed.
35+
- **Performant**: Built with performance in mind, optimized for large codebases, [**4-7x faster**](https://github.com/Rel1cx/eslint-react-benchmark) than other ESLint plugins.
36+
- **Context-aware Linting**: Rules that understand the context of your code and [project configuration](https://eslint-react.xyz/docs/configuration/configure-project-config) to provide more **accurate** linting.
3637

3738
## Public Packages
3839

@@ -53,8 +54,8 @@
5354
> [!NOTE]\
5455
> ESLint React requires the following minimum versions:
5556
>
56-
> - Node.js: 18.18.0
57-
> - ESLint: 8.57.0
57+
> - Node.js: 20.19.0
58+
> - ESLint: 9.24.0
5859
> - TypeScript: 4.9.5
5960
6061
### Install
@@ -106,8 +107,6 @@ export default tseslint.config({
106107

107108
[Full Installation Guide ↗](https://eslint-react.xyz/docs/getting-started/typescript)
108109

109-
</details>
110-
111110
## Presets
112111

113112
### Bare Bones
@@ -150,6 +149,10 @@ export default tseslint.config({
150149

151150
[Rules Overview ↗](https://eslint-react.xyz/docs/rules/overview)
152151

152+
## Benchmark
153+
154+
[Benchmark Results ↗](https://github.com/Rel1cx/eslint-react-benchmark)
155+
153156
## FAQ
154157

155158
[Frequently Asked Questions ↗](https://eslint-react.xyz/docs/faq)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.52.3
1+
2.0.0-beta.20

0 commit comments

Comments
 (0)