oxlint-plugin-react-features 1.8.1 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +15 -7
package/README.md CHANGED
@@ -125,7 +125,7 @@ Install [`eslint-plugin-react-features`](https://www.npmjs.com/package/eslint-pl
125
125
  | :------ | :--------------------------------------------------------------- |
126
126
  | oxlint | verified on `1.90.0`: CI loads every rule ID through `jsPlugins` |
127
127
  | Vite+ | `lint.jsPlugins` in `vite.config.ts` |
128
- | Node.js | `>=18.0.0` |
128
+ | Node.js | `>=22.13.0` |
129
129
 
130
130
  ## Rules
131
131
 
package/package.json CHANGED
@@ -1,10 +1,22 @@
1
1
  {
2
2
  "name": "oxlint-plugin-react-features",
3
- "version": "1.8.1",
3
+ "version": "2.0.1",
4
4
  "description": "The react-features rules for oxlint and Vite+. Same rules and rule IDs as eslint-plugin-react-features.",
5
5
  "type": "commonjs",
6
+ "sideEffects": false,
6
7
  "main": "./index.js",
7
8
  "types": "./index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./index.d.ts",
12
+ "default": "./index.js"
13
+ },
14
+ "./index.js": {
15
+ "types": "./index.d.ts",
16
+ "default": "./index.js"
17
+ },
18
+ "./package.json": "./package.json"
19
+ },
8
20
  "files": [
9
21
  "index.js",
10
22
  "index.d.ts",
@@ -47,16 +59,12 @@
47
59
  "author": "Ofri Peretz <ofriperetzdev@gmail.com>",
48
60
  "license": "MIT",
49
61
  "engines": {
50
- "node": ">=18.0.0"
51
- },
52
- "funding": {
53
- "type": "github",
54
- "url": "git+https://github.com/ofri-peretz/eslint.git"
62
+ "node": ">=22.13.0"
55
63
  },
56
64
  "publishConfig": {
57
65
  "access": "public"
58
66
  },
59
67
  "dependencies": {
60
- "eslint-plugin-react-features": "1.8.1"
68
+ "eslint-plugin-react-features": "2.0.1"
61
69
  }
62
70
  }