eslint-plugin-react-hooks-extra 2.0.0-next.190 → 2.0.0-next.191
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.ts +0 -4
- package/dist/index.js +3 -6
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -9,10 +9,6 @@ declare const _default: {
|
|
|
9
9
|
rules?: Record<string, _eslint_react_kit0.RuleConfig>;
|
|
10
10
|
settings?: _eslint_react_kit0.SettingsConfig;
|
|
11
11
|
};
|
|
12
|
-
"recommended-legacy": {
|
|
13
|
-
plugins: string[];
|
|
14
|
-
rules: Record<string, _eslint_react_kit0.RuleConfig<unknown[]>> | undefined;
|
|
15
|
-
};
|
|
16
12
|
};
|
|
17
13
|
meta: {
|
|
18
14
|
name: string;
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ const rules = { "react-hooks-extra/no-direct-set-state-in-use-effect": "warn" };
|
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region package.json
|
|
33
33
|
var name = "eslint-plugin-react-hooks-extra";
|
|
34
|
-
var version = "2.0.0-next.
|
|
34
|
+
var version = "2.0.0-next.191";
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/utils/create-rule.ts
|
|
@@ -256,13 +256,10 @@ const plugin = {
|
|
|
256
256
|
|
|
257
257
|
//#endregion
|
|
258
258
|
//#region src/index.ts
|
|
259
|
-
const { toFlatConfig
|
|
259
|
+
const { toFlatConfig } = getConfigAdapters("react-hooks-extra", plugin);
|
|
260
260
|
var src_default = {
|
|
261
261
|
...plugin,
|
|
262
|
-
configs: {
|
|
263
|
-
["recommended"]: toFlatConfig(recommended_exports),
|
|
264
|
-
["recommended-legacy"]: toLegacyConfig(recommended_exports)
|
|
265
|
-
}
|
|
262
|
+
configs: { ["recommended"]: toFlatConfig(recommended_exports) }
|
|
266
263
|
};
|
|
267
264
|
|
|
268
265
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-hooks-extra",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.191",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for React Hooks related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"./package.json"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@typescript-eslint/scope-manager": "^8.44.
|
|
40
|
-
"@typescript-eslint/type-utils": "^8.44.
|
|
41
|
-
"@typescript-eslint/types": "^8.44.
|
|
42
|
-
"@typescript-eslint/utils": "^8.44.
|
|
39
|
+
"@typescript-eslint/scope-manager": "^8.44.1",
|
|
40
|
+
"@typescript-eslint/type-utils": "^8.44.1",
|
|
41
|
+
"@typescript-eslint/types": "^8.44.1",
|
|
42
|
+
"@typescript-eslint/utils": "^8.44.1",
|
|
43
43
|
"string-ts": "^2.2.1",
|
|
44
44
|
"ts-pattern": "^5.8.0",
|
|
45
|
-
"@eslint-react/ast": "2.0.0-next.
|
|
46
|
-
"@eslint-react/eff": "2.0.0-next.
|
|
47
|
-
"@eslint-react/kit": "2.0.0-next.
|
|
48
|
-
"@eslint-react/core": "2.0.0-next.
|
|
49
|
-
"@eslint-react/shared": "2.0.0-next.
|
|
50
|
-
"@eslint-react/var": "2.0.0-next.
|
|
45
|
+
"@eslint-react/ast": "2.0.0-next.191",
|
|
46
|
+
"@eslint-react/eff": "2.0.0-next.191",
|
|
47
|
+
"@eslint-react/kit": "2.0.0-next.191",
|
|
48
|
+
"@eslint-react/core": "2.0.0-next.191",
|
|
49
|
+
"@eslint-react/shared": "2.0.0-next.191",
|
|
50
|
+
"@eslint-react/var": "2.0.0-next.191"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/react": "^19.1.13",
|