@eslint-react/eslint-plugin 1.23.2-next.6 → 1.23.3-next.0
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/dist/index.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __export = (target, all) => {
|
|
|
26
26
|
|
|
27
27
|
// package.json
|
|
28
28
|
var name = "@eslint-react/eslint-plugin";
|
|
29
|
-
var version = "1.23.
|
|
29
|
+
var version = "1.23.3-next.0";
|
|
30
30
|
|
|
31
31
|
// src/configs/all.ts
|
|
32
32
|
var all_exports = {};
|
|
@@ -366,7 +366,9 @@ var settings7 = {
|
|
|
366
366
|
...settings6
|
|
367
367
|
};
|
|
368
368
|
function transformKeys(obj, transform) {
|
|
369
|
-
if (types.typeOf(obj) !== "object")
|
|
369
|
+
if (types.typeOf(obj) !== "object") {
|
|
370
|
+
return obj;
|
|
371
|
+
}
|
|
370
372
|
const res = {};
|
|
371
373
|
for (const key in obj) {
|
|
372
374
|
res[transform(key)] = obj[key];
|
package/dist/index.mjs
CHANGED
|
@@ -15,7 +15,7 @@ var __export = (target, all) => {
|
|
|
15
15
|
|
|
16
16
|
// package.json
|
|
17
17
|
var name = "@eslint-react/eslint-plugin";
|
|
18
|
-
var version = "1.23.
|
|
18
|
+
var version = "1.23.3-next.0";
|
|
19
19
|
|
|
20
20
|
// src/configs/all.ts
|
|
21
21
|
var all_exports = {};
|
|
@@ -355,7 +355,9 @@ var settings7 = {
|
|
|
355
355
|
...settings6
|
|
356
356
|
};
|
|
357
357
|
function transformKeys(obj, transform) {
|
|
358
|
-
if (typeOf(obj) !== "object")
|
|
358
|
+
if (typeOf(obj) !== "object") {
|
|
359
|
+
return obj;
|
|
360
|
+
}
|
|
359
361
|
const res = {};
|
|
360
362
|
for (const key in obj) {
|
|
361
363
|
res[transform(key)] = obj[key];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.3-next.0",
|
|
4
4
|
"description": "A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"author": "Eva1ent<rel1cx@proton.me>",
|
|
27
|
+
"sideEffects": false,
|
|
27
28
|
"exports": {
|
|
28
29
|
".": {
|
|
29
30
|
"import": {
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
"./package.json": "./package.json"
|
|
39
40
|
},
|
|
40
41
|
"main": "dist/index.js",
|
|
42
|
+
"module": "dist/index.mjs",
|
|
41
43
|
"types": "dist/index.d.ts",
|
|
42
44
|
"files": [
|
|
43
45
|
"dist",
|
|
@@ -48,15 +50,15 @@
|
|
|
48
50
|
"@typescript-eslint/type-utils": "^8.19.1",
|
|
49
51
|
"@typescript-eslint/types": "^8.19.1",
|
|
50
52
|
"@typescript-eslint/utils": "^8.19.1",
|
|
51
|
-
"@eslint-react/eff": "1.23.
|
|
52
|
-
"@eslint-react/shared": "1.23.
|
|
53
|
-
"eslint-plugin-react-
|
|
54
|
-
"eslint-plugin-react-
|
|
55
|
-
"eslint-
|
|
56
|
-
"eslint-plugin-react-naming-convention": "1.23.
|
|
57
|
-
"
|
|
58
|
-
"eslint-plugin-react-web-api": "1.23.
|
|
59
|
-
"eslint-plugin-react-x": "1.23.
|
|
53
|
+
"@eslint-react/eff": "1.23.3-next.0",
|
|
54
|
+
"@eslint-react/shared": "1.23.3-next.0",
|
|
55
|
+
"eslint-plugin-react-dom": "1.23.3-next.0",
|
|
56
|
+
"eslint-plugin-react-hooks-extra": "1.23.3-next.0",
|
|
57
|
+
"@eslint-react/types": "1.23.3-next.0",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.23.3-next.0",
|
|
59
|
+
"eslint-plugin-react-debug": "1.23.3-next.0",
|
|
60
|
+
"eslint-plugin-react-web-api": "1.23.3-next.0",
|
|
61
|
+
"eslint-plugin-react-x": "1.23.3-next.0"
|
|
60
62
|
},
|
|
61
63
|
"devDependencies": {
|
|
62
64
|
"tsup": "^8.3.5",
|
|
@@ -81,8 +83,6 @@
|
|
|
81
83
|
"publishConfig": {
|
|
82
84
|
"access": "public"
|
|
83
85
|
},
|
|
84
|
-
"sideEffects": false,
|
|
85
|
-
"module": "dist/index.mjs",
|
|
86
86
|
"scripts": {
|
|
87
87
|
"build": "tsup --dts-resolve",
|
|
88
88
|
"lint:publish": "pnpm publint",
|