eslint-plugin-react-debug 1.52.7-next.1 → 1.52.7-next.2
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.d.mts +7 -27
- package/dist/index.d.ts +7 -27
- package/dist/index.js +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +14 -14
package/dist/index.d.mts
CHANGED
|
@@ -1,27 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _eslint_react_shared from '@eslint-react/shared';
|
|
2
2
|
import { RulePreset } from '@eslint-react/kit';
|
|
3
3
|
|
|
4
4
|
declare const _default: {
|
|
5
5
|
configs: {
|
|
6
6
|
all: {
|
|
7
7
|
plugins: {
|
|
8
|
-
"react-debug":
|
|
9
|
-
readonly meta: {
|
|
10
|
-
readonly name: string;
|
|
11
|
-
readonly version: string;
|
|
12
|
-
};
|
|
13
|
-
readonly rules: {
|
|
14
|
-
readonly "class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"classComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
15
|
-
readonly "function-component": _typescript_eslint_utils_ts_eslint.RuleModule<"functionComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
16
|
-
readonly hook: _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17
|
-
readonly "is-from-react": _typescript_eslint_utils_ts_eslint.RuleModule<"isFromReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18
|
-
readonly jsx: _typescript_eslint_utils_ts_eslint.RuleModule<"jsx", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19
|
-
readonly "react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
8
|
+
"react-debug": _eslint_react_shared.CompatiblePlugin;
|
|
22
9
|
};
|
|
23
|
-
name
|
|
24
|
-
rules
|
|
10
|
+
name?: string;
|
|
11
|
+
rules?: Record<string, any>;
|
|
25
12
|
};
|
|
26
13
|
"all-legacy": {
|
|
27
14
|
plugins: string[];
|
|
@@ -29,17 +16,10 @@ declare const _default: {
|
|
|
29
16
|
};
|
|
30
17
|
};
|
|
31
18
|
meta: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
rules: {
|
|
36
|
-
readonly "class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"classComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
37
|
-
readonly "function-component": _typescript_eslint_utils_ts_eslint.RuleModule<"functionComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
38
|
-
readonly hook: _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
39
|
-
readonly "is-from-react": _typescript_eslint_utils_ts_eslint.RuleModule<"isFromReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
40
|
-
readonly jsx: _typescript_eslint_utils_ts_eslint.RuleModule<"jsx", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
41
|
-
readonly "react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19
|
+
name: string;
|
|
20
|
+
version: string;
|
|
42
21
|
};
|
|
22
|
+
rules: Record<string, any>;
|
|
43
23
|
};
|
|
44
24
|
|
|
45
25
|
export { _default as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _eslint_react_shared from '@eslint-react/shared';
|
|
2
2
|
import { RulePreset } from '@eslint-react/kit';
|
|
3
3
|
|
|
4
4
|
declare const _default: {
|
|
5
5
|
configs: {
|
|
6
6
|
all: {
|
|
7
7
|
plugins: {
|
|
8
|
-
"react-debug":
|
|
9
|
-
readonly meta: {
|
|
10
|
-
readonly name: string;
|
|
11
|
-
readonly version: string;
|
|
12
|
-
};
|
|
13
|
-
readonly rules: {
|
|
14
|
-
readonly "class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"classComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
15
|
-
readonly "function-component": _typescript_eslint_utils_ts_eslint.RuleModule<"functionComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
16
|
-
readonly hook: _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17
|
-
readonly "is-from-react": _typescript_eslint_utils_ts_eslint.RuleModule<"isFromReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18
|
-
readonly jsx: _typescript_eslint_utils_ts_eslint.RuleModule<"jsx", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19
|
-
readonly "react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
8
|
+
"react-debug": _eslint_react_shared.CompatiblePlugin;
|
|
22
9
|
};
|
|
23
|
-
name
|
|
24
|
-
rules
|
|
10
|
+
name?: string;
|
|
11
|
+
rules?: Record<string, any>;
|
|
25
12
|
};
|
|
26
13
|
"all-legacy": {
|
|
27
14
|
plugins: string[];
|
|
@@ -29,17 +16,10 @@ declare const _default: {
|
|
|
29
16
|
};
|
|
30
17
|
};
|
|
31
18
|
meta: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
rules: {
|
|
36
|
-
readonly "class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"classComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
37
|
-
readonly "function-component": _typescript_eslint_utils_ts_eslint.RuleModule<"functionComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
38
|
-
readonly hook: _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
39
|
-
readonly "is-from-react": _typescript_eslint_utils_ts_eslint.RuleModule<"isFromReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
40
|
-
readonly jsx: _typescript_eslint_utils_ts_eslint.RuleModule<"jsx", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
41
|
-
readonly "react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19
|
+
name: string;
|
|
20
|
+
version: string;
|
|
42
21
|
};
|
|
22
|
+
rules: Record<string, any>;
|
|
43
23
|
};
|
|
44
24
|
|
|
45
25
|
export { _default as default };
|
package/dist/index.js
CHANGED
|
@@ -55,7 +55,7 @@ var settings = {
|
|
|
55
55
|
|
|
56
56
|
// package.json
|
|
57
57
|
var name2 = "eslint-plugin-react-debug";
|
|
58
|
-
var version = "1.52.7-next.
|
|
58
|
+
var version = "1.52.7-next.2";
|
|
59
59
|
var createRule = utils.ESLintUtils.RuleCreator(shared.getDocsUrl("debug"));
|
|
60
60
|
|
|
61
61
|
// src/utils/stringify.ts
|
|
@@ -319,7 +319,7 @@ var plugin = {
|
|
|
319
319
|
};
|
|
320
320
|
|
|
321
321
|
// src/index.ts
|
|
322
|
-
function
|
|
322
|
+
function toFlatConfig(config) {
|
|
323
323
|
return {
|
|
324
324
|
...config,
|
|
325
325
|
plugins: {
|
|
@@ -327,7 +327,7 @@ function makeConfig(config) {
|
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function toLegacyConfig({ rules: rules2 }) {
|
|
331
331
|
return {
|
|
332
332
|
plugins: ["react-debug"],
|
|
333
333
|
rules: rules2
|
|
@@ -336,8 +336,8 @@ function makeLegacyConfig({ rules: rules2 }) {
|
|
|
336
336
|
var index_default = {
|
|
337
337
|
...plugin,
|
|
338
338
|
configs: {
|
|
339
|
-
["all"]:
|
|
340
|
-
["all-legacy"]:
|
|
339
|
+
["all"]: toFlatConfig(all_exports),
|
|
340
|
+
["all-legacy"]: toLegacyConfig(all_exports)
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
343
|
|
package/dist/index.mjs
CHANGED
|
@@ -33,7 +33,7 @@ var settings = {
|
|
|
33
33
|
|
|
34
34
|
// package.json
|
|
35
35
|
var name2 = "eslint-plugin-react-debug";
|
|
36
|
-
var version = "1.52.7-next.
|
|
36
|
+
var version = "1.52.7-next.2";
|
|
37
37
|
var createRule = ESLintUtils.RuleCreator(getDocsUrl("debug"));
|
|
38
38
|
|
|
39
39
|
// src/utils/stringify.ts
|
|
@@ -297,7 +297,7 @@ var plugin = {
|
|
|
297
297
|
};
|
|
298
298
|
|
|
299
299
|
// src/index.ts
|
|
300
|
-
function
|
|
300
|
+
function toFlatConfig(config) {
|
|
301
301
|
return {
|
|
302
302
|
...config,
|
|
303
303
|
plugins: {
|
|
@@ -305,7 +305,7 @@ function makeConfig(config) {
|
|
|
305
305
|
}
|
|
306
306
|
};
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function toLegacyConfig({ rules: rules2 }) {
|
|
309
309
|
return {
|
|
310
310
|
plugins: ["react-debug"],
|
|
311
311
|
rules: rules2
|
|
@@ -314,8 +314,8 @@ function makeLegacyConfig({ rules: rules2 }) {
|
|
|
314
314
|
var index_default = {
|
|
315
315
|
...plugin,
|
|
316
316
|
configs: {
|
|
317
|
-
["all"]:
|
|
318
|
-
["all-legacy"]:
|
|
317
|
+
["all"]: toFlatConfig(all_exports),
|
|
318
|
+
["all-legacy"]: toLegacyConfig(all_exports)
|
|
319
319
|
}
|
|
320
320
|
};
|
|
321
321
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-debug",
|
|
3
|
-
"version": "1.52.7-next.
|
|
3
|
+
"version": "1.52.7-next.2",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for debugging related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -43,22 +43,22 @@
|
|
|
43
43
|
"./package.json"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@typescript-eslint/scope-manager": "^8.
|
|
47
|
-
"@typescript-eslint/type-utils": "^8.
|
|
48
|
-
"@typescript-eslint/types": "^8.
|
|
49
|
-
"@typescript-eslint/utils": "^8.
|
|
46
|
+
"@typescript-eslint/scope-manager": "^8.41.0",
|
|
47
|
+
"@typescript-eslint/type-utils": "^8.41.0",
|
|
48
|
+
"@typescript-eslint/types": "^8.41.0",
|
|
49
|
+
"@typescript-eslint/utils": "^8.41.0",
|
|
50
50
|
"string-ts": "^2.2.1",
|
|
51
51
|
"ts-pattern": "^5.8.0",
|
|
52
|
-
"@eslint-react/
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/kit": "1.52.7-next.
|
|
55
|
-
"@eslint-react/
|
|
56
|
-
"@eslint-react/var": "1.52.7-next.
|
|
57
|
-
"@eslint-react/
|
|
52
|
+
"@eslint-react/ast": "1.52.7-next.2",
|
|
53
|
+
"@eslint-react/core": "1.52.7-next.2",
|
|
54
|
+
"@eslint-react/kit": "1.52.7-next.2",
|
|
55
|
+
"@eslint-react/eff": "1.52.7-next.2",
|
|
56
|
+
"@eslint-react/var": "1.52.7-next.2",
|
|
57
|
+
"@eslint-react/shared": "1.52.7-next.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@types/react": "^19.1.
|
|
61
|
-
"@types/react-dom": "^19.1.
|
|
60
|
+
"@types/react": "^19.1.12",
|
|
61
|
+
"@types/react-dom": "^19.1.9",
|
|
62
62
|
"tsup": "^8.5.0",
|
|
63
63
|
"@local/configs": "0.0.0"
|
|
64
64
|
},
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
|
-
"build": "tsup
|
|
84
|
+
"build": "tsup",
|
|
85
85
|
"lint:publish": "publint",
|
|
86
86
|
"lint:ts": "tsc --noEmit"
|
|
87
87
|
}
|