@eslint-react/eslint-plugin 1.38.1-next.2 → 1.38.1-next.4
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.
- package/README.md +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ More than 80 high-quality linting rules to identify possible problems in your Re
|
|
|
26
26
|
|
|
27
27
|
### All-In-One
|
|
28
28
|
|
|
29
|
-
- [`@eslint-react/eslint-plugin`](https://www.npmjs.com/package/@eslint-react/eslint-plugin) -
|
|
29
|
+
- [`@eslint-react/eslint-plugin`](https://www.npmjs.com/package/@eslint-react/eslint-plugin) - Main plugin combining all rules and presets from the above packages.
|
|
30
30
|
|
|
31
31
|
## Installation
|
|
32
32
|
|
|
@@ -68,7 +68,7 @@ export default tseslint.config({
|
|
|
68
68
|
},
|
|
69
69
|
rules: {
|
|
70
70
|
// Put rules you want to override here
|
|
71
|
-
"@eslint-react/
|
|
71
|
+
"@eslint-react/no-class-component": "error",
|
|
72
72
|
},
|
|
73
73
|
});
|
|
74
74
|
```
|
package/dist/index.d.mts
CHANGED
|
@@ -52,8 +52,8 @@ declare const rules$b: {
|
|
|
52
52
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
53
53
|
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
54
54
|
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
55
|
-
readonly "@eslint-react/prefer-shorthand-boolean": "
|
|
56
|
-
readonly "@eslint-react/prefer-shorthand-fragment": "
|
|
55
|
+
readonly "@eslint-react/prefer-shorthand-boolean": "off";
|
|
56
|
+
readonly "@eslint-react/prefer-shorthand-fragment": "off";
|
|
57
57
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
58
58
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
59
59
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
package/dist/index.d.ts
CHANGED
|
@@ -52,8 +52,8 @@ declare const rules$b: {
|
|
|
52
52
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
53
53
|
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
54
54
|
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
55
|
-
readonly "@eslint-react/prefer-shorthand-boolean": "
|
|
56
|
-
readonly "@eslint-react/prefer-shorthand-fragment": "
|
|
55
|
+
readonly "@eslint-react/prefer-shorthand-boolean": "off";
|
|
56
|
+
readonly "@eslint-react/prefer-shorthand-fragment": "off";
|
|
57
57
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
58
58
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
59
59
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var __export = (target, all) => {
|
|
|
25
25
|
|
|
26
26
|
// package.json
|
|
27
27
|
var name = "@eslint-react/eslint-plugin";
|
|
28
|
-
var version = "1.38.1-next.
|
|
28
|
+
var version = "1.38.1-next.4";
|
|
29
29
|
|
|
30
30
|
// src/configs/all.ts
|
|
31
31
|
var all_exports = {};
|
|
@@ -177,8 +177,8 @@ var rules3 = {
|
|
|
177
177
|
"@eslint-react/no-useless-forward-ref": "warn",
|
|
178
178
|
"@eslint-react/no-useless-fragment": "warn",
|
|
179
179
|
"@eslint-react/prefer-destructuring-assignment": "warn",
|
|
180
|
-
"@eslint-react/prefer-shorthand-boolean": "
|
|
181
|
-
"@eslint-react/prefer-shorthand-fragment": "
|
|
180
|
+
"@eslint-react/prefer-shorthand-boolean": "off",
|
|
181
|
+
"@eslint-react/prefer-shorthand-fragment": "off",
|
|
182
182
|
"@eslint-react/dom/no-dangerously-set-innerhtml": "warn",
|
|
183
183
|
"@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error",
|
|
184
184
|
"@eslint-react/dom/no-find-dom-node": "error",
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ var __export = (target, all) => {
|
|
|
14
14
|
|
|
15
15
|
// package.json
|
|
16
16
|
var name = "@eslint-react/eslint-plugin";
|
|
17
|
-
var version = "1.38.1-next.
|
|
17
|
+
var version = "1.38.1-next.4";
|
|
18
18
|
|
|
19
19
|
// src/configs/all.ts
|
|
20
20
|
var all_exports = {};
|
|
@@ -166,8 +166,8 @@ var rules3 = {
|
|
|
166
166
|
"@eslint-react/no-useless-forward-ref": "warn",
|
|
167
167
|
"@eslint-react/no-useless-fragment": "warn",
|
|
168
168
|
"@eslint-react/prefer-destructuring-assignment": "warn",
|
|
169
|
-
"@eslint-react/prefer-shorthand-boolean": "
|
|
170
|
-
"@eslint-react/prefer-shorthand-fragment": "
|
|
169
|
+
"@eslint-react/prefer-shorthand-boolean": "off",
|
|
170
|
+
"@eslint-react/prefer-shorthand-fragment": "off",
|
|
171
171
|
"@eslint-react/dom/no-dangerously-set-innerhtml": "warn",
|
|
172
172
|
"@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error",
|
|
173
173
|
"@eslint-react/dom/no-find-dom-node": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.38.1-next.
|
|
3
|
+
"version": "1.38.1-next.4",
|
|
4
4
|
"description": "More than 80 high-quality linting rules to identify possible problems in your React 19 code.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"@typescript-eslint/type-utils": "^8.28.0",
|
|
51
51
|
"@typescript-eslint/types": "^8.28.0",
|
|
52
52
|
"@typescript-eslint/utils": "^8.28.0",
|
|
53
|
-
"@eslint-react/eff": "1.38.1-next.
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"@eslint-react/
|
|
56
|
-
"eslint-plugin-react-debug": "1.38.1-next.
|
|
57
|
-
"eslint-plugin-react-dom": "1.38.1-next.
|
|
58
|
-
"eslint-plugin-react-
|
|
59
|
-
"eslint-plugin-react-
|
|
60
|
-
"eslint-plugin-react-web-api": "1.38.1-next.
|
|
61
|
-
"eslint-plugin-react-x": "1.38.1-next.
|
|
53
|
+
"@eslint-react/eff": "1.38.1-next.4",
|
|
54
|
+
"@eslint-react/kit": "1.38.1-next.4",
|
|
55
|
+
"@eslint-react/shared": "1.38.1-next.4",
|
|
56
|
+
"eslint-plugin-react-debug": "1.38.1-next.4",
|
|
57
|
+
"eslint-plugin-react-dom": "1.38.1-next.4",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.38.1-next.4",
|
|
59
|
+
"eslint-plugin-react-hooks-extra": "1.38.1-next.4",
|
|
60
|
+
"eslint-plugin-react-web-api": "1.38.1-next.4",
|
|
61
|
+
"eslint-plugin-react-x": "1.38.1-next.4"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"tsup": "^8.4.0",
|