eslint-plugin-react-debug 2.7.4-next.6 → 2.7.4-next.8
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 +1 -0
- package/dist/index.js +2 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -45,6 +45,7 @@ export default defineConfig(
|
|
|
45
45
|
- [`function-component`](./debug-function-component) - Reports all function components
|
|
46
46
|
- [`hook`](./debug-hook) - Reports all `React` hooks
|
|
47
47
|
- [`is-from-react`](./debug-is-from-react) - Reports identifiers initialized from `React`
|
|
48
|
+
- [`is-from-ref`](./debug-is-from-ref) - Reports identifiers initialized or derived from refs
|
|
48
49
|
- [`jsx`](./debug-jsx) - Reports all `JSX` elements and fragments
|
|
49
50
|
|
|
50
51
|
## Rules
|
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
|
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region package.json
|
|
43
43
|
var name = "eslint-plugin-react-debug";
|
|
44
|
-
var version = "2.7.4-next.
|
|
44
|
+
var version = "2.7.4-next.8";
|
|
45
45
|
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/utils/create-rule.ts
|
|
@@ -245,6 +245,7 @@ const plugin = {
|
|
|
245
245
|
["function-component"]: function_component_default,
|
|
246
246
|
["hook"]: hook_default,
|
|
247
247
|
["is-from-react"]: is_from_react_default,
|
|
248
|
+
["is-from-ref"]: is_from_react_default,
|
|
248
249
|
["jsx"]: jsx_default
|
|
249
250
|
}
|
|
250
251
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-debug",
|
|
3
|
-
"version": "2.7.4-next.
|
|
3
|
+
"version": "2.7.4-next.8",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for debugging related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@typescript-eslint/utils": "^8.53.1",
|
|
45
45
|
"string-ts": "^2.3.1",
|
|
46
46
|
"ts-pattern": "^5.9.0",
|
|
47
|
-
"@eslint-react/ast": "2.7.4-next.
|
|
48
|
-
"@eslint-react/eff": "2.7.4-next.
|
|
49
|
-
"@eslint-react/shared": "2.7.4-next.
|
|
50
|
-
"@eslint-react/var": "2.7.4-next.
|
|
51
|
-
"@eslint-react/core": "2.7.4-next.
|
|
47
|
+
"@eslint-react/ast": "2.7.4-next.8",
|
|
48
|
+
"@eslint-react/eff": "2.7.4-next.8",
|
|
49
|
+
"@eslint-react/shared": "2.7.4-next.8",
|
|
50
|
+
"@eslint-react/var": "2.7.4-next.8",
|
|
51
|
+
"@eslint-react/core": "2.7.4-next.8"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/react": "^19.2.9",
|