Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pkgs/eslint-plugin-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@local/configs": "workspace:*",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"peerDependencies": {
"eslint": "^9.38.0",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Version](https://img.shields.io/npm/v/@eslint-react/eslint-plugin?style=flat&colorA=111111&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
[![Downloads](https://img.shields.io/npm/dt/@eslint-react/eslint-plugin.svg?style=flat&colorA=222222&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
[![License](https://img.shields.io/npm/l/@eslint-react/eslint-plugin?style=flat&colorA=333333&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
[![Build with](https://img.shields.io/badge/[email protected].0-000000?style=flat)](https://tsdown.dev)
[![Build with](https://img.shields.io/badge/[email protected].1-000000?style=flat)](https://tsdown.dev)

4-7x faster composable ESLint rules for React and friends.

Expand Down
2 changes: 1 addition & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"fumadocs-twoslash": "3.1.9",
"fumadocs-typescript": "4.0.12",
"fumadocs-ui": "16.0.5",
"lucide-react": "^0.552.0",
"lucide-react": "^0.553.0",
"next": "^16.0.1",
"next-view-transitions": "^0.3.4",
"react": "^19.2.0",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@
"sort-package-json": "^3.4.0",
"tinyglobby": "^0.2.15",
"ts-pattern": "^5.9.0",
"tsdown": "^0.16.0",
"tsdown": "^0.16.1",
"tsx": "^4.20.6",
"type-fest": "^5.2.0",
"typedoc": "^0.28.14",
"typedoc-plugin-markdown": "^4.9.0",
"typedoc-plugin-mdn-links": "^5.0.10",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.3",
"vitest": "^4.0.7"
"vitest": "^4.0.8"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"devDependencies": {
"@local/configs": "workspace:*",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"engines": {
"node": ">=20.19.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin-react-debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@local/configs": "workspace:*",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"peerDependencies": {
"eslint": "^9.38.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin-react-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@local/configs": "workspace:*",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"peerDependencies": {
"eslint": "^9.38.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@local/configs": "workspace:*",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"peerDependencies": {
"eslint": "^9.38.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@local/configs": "workspace:*",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"peerDependencies": {
"eslint": "^9.38.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin-react-web-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@local/configs": "workspace:*",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"peerDependencies": {
"eslint": "^9.38.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin-react-x/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@local/configs": "workspace:*",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"peerDependencies": {
"eslint": "^9.38.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/plugins/eslint-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Version](https://img.shields.io/npm/v/@eslint-react/eslint-plugin?style=flat&colorA=111111&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
[![Downloads](https://img.shields.io/npm/dt/@eslint-react/eslint-plugin.svg?style=flat&colorA=222222&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
[![License](https://img.shields.io/npm/l/@eslint-react/eslint-plugin?style=flat&colorA=333333&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
[![Build with](https://img.shields.io/badge/[email protected].0-000000?style=flat)](https://tsdown.dev)
[![Build with](https://img.shields.io/badge/[email protected].1-000000?style=flat)](https://tsdown.dev)

4-7x faster composable ESLint rules for React and friends.

Expand Down Expand Up @@ -188,8 +188,8 @@ ESLint React is not affiliated with Meta Corporation or [facebook/react](https:/

Contributions are welcome!

Please follow our [contributing guidelines](https://github.com/Rel1cx/eslint-react/tree/main/.github/CONTRIBUTING.md).
Please follow our [contributing guidelines](https://github.com/Rel1cx/eslint-react/tree/remove-node-types/.github/CONTRIBUTING.md).

## License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/Rel1cx/eslint-react/tree/main/LICENSE) file for details.
This project is licensed under the MIT License - see the [LICENSE](https://github.com/Rel1cx/eslint-react/tree/remove-node-types/LICENSE) file for details.
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"devDependencies": {
"@local/configs": "workspace:*",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"peerDependencies": {
"eslint": "^9.38.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@local/configs": "workspace:*",
"@tsconfig/node22": "^22.0.2",
"@types/picomatch": "^4.0.2",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"engines": {
"node": ">=20.19.0"
Expand Down
8 changes: 0 additions & 8 deletions packages/shared/src/_require.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/shared/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export * from "./_id";
export * from "./_require";
export * from "./config-adapters";
export * from "./constants";
export * from "./react-version";
Expand Down
6 changes: 5 additions & 1 deletion packages/shared/src/react-version.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import module from "node:module";
import path from "node:path";

import { identity } from "@eslint-react/eff";
import { P, match } from "ts-pattern";
import { _require } from "./_require";

const _require = module.createRequire(process.cwd() + path.sep);

export function getReactVersion(fallback: string): string {
try {
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/ast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"devDependencies": {
"@local/configs": "workspace:*",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"engines": {
"node": ">=20.19.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/eff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"@local/configs": "workspace:*",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"engines": {
"node": ">=20.19.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/var/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"devDependencies": {
"@local/configs": "workspace:*",
"tsdown": "^0.16.0"
"tsdown": "^0.16.1"
},
"engines": {
"node": ">=20.19.0"
Expand Down
Loading
Loading