eslint-plugin-react-debug 1.23.2-next.1 → 1.23.2-next.3
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 +2 -2
- package/dist/index.mjs +3 -3
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ var utils = require('@typescript-eslint/utils');
|
|
|
7
7
|
|
|
8
8
|
// package.json
|
|
9
9
|
var name = "eslint-plugin-react-debug";
|
|
10
|
-
var version = "1.23.2-next.
|
|
10
|
+
var version = "1.23.2-next.3";
|
|
11
11
|
var createRule = shared.createRuleForPlugin("debug");
|
|
12
12
|
|
|
13
13
|
// src/rules/class-component.ts
|
|
@@ -148,7 +148,7 @@ var is_from_react_default = createRule({
|
|
|
148
148
|
},
|
|
149
149
|
name: RULE_NAME4,
|
|
150
150
|
create(context) {
|
|
151
|
-
const settings = shared.
|
|
151
|
+
const settings = shared.getSettingsFromContext(context);
|
|
152
152
|
const finalSettings = {
|
|
153
153
|
...settings,
|
|
154
154
|
strictImportCheck: true
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useComponentCollectorLegacy, useComponentCollector, ERFunctionComponentFlag, useHookCollector, isInitializedFromReact } from '@eslint-react/core';
|
|
2
2
|
import { O, F } from '@eslint-react/eff';
|
|
3
|
-
import { createRuleForPlugin,
|
|
3
|
+
import { createRuleForPlugin, getSettingsFromContext } from '@eslint-react/shared';
|
|
4
4
|
import { AST_NODE_TYPES } from '@typescript-eslint/utils';
|
|
5
5
|
|
|
6
6
|
// package.json
|
|
7
7
|
var name = "eslint-plugin-react-debug";
|
|
8
|
-
var version = "1.23.2-next.
|
|
8
|
+
var version = "1.23.2-next.3";
|
|
9
9
|
var createRule = createRuleForPlugin("debug");
|
|
10
10
|
|
|
11
11
|
// src/rules/class-component.ts
|
|
@@ -146,7 +146,7 @@ var is_from_react_default = createRule({
|
|
|
146
146
|
},
|
|
147
147
|
name: RULE_NAME4,
|
|
148
148
|
create(context) {
|
|
149
|
-
const settings =
|
|
149
|
+
const settings = getSettingsFromContext(context);
|
|
150
150
|
const finalSettings = {
|
|
151
151
|
...settings,
|
|
152
152
|
strictImportCheck: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-debug",
|
|
3
|
-
"version": "1.23.2-next.
|
|
3
|
+
"version": "1.23.2-next.3",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for debugging related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"@typescript-eslint/utils": "^8.19.0",
|
|
48
48
|
"string-ts": "^2.2.0",
|
|
49
49
|
"ts-pattern": "^5.6.0",
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/
|
|
52
|
-
"@eslint-react/
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"@eslint-react/
|
|
56
|
-
"@eslint-react/
|
|
50
|
+
"@eslint-react/core": "1.23.2-next.3",
|
|
51
|
+
"@eslint-react/shared": "1.23.2-next.3",
|
|
52
|
+
"@eslint-react/ast": "1.23.2-next.3",
|
|
53
|
+
"@eslint-react/types": "1.23.2-next.3",
|
|
54
|
+
"@eslint-react/var": "1.23.2-next.3",
|
|
55
|
+
"@eslint-react/jsx": "1.23.2-next.3",
|
|
56
|
+
"@eslint-react/eff": "1.23.2-next.3"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/react": "^19.0.2",
|