eslint-plugin-react-hooks-extra 1.26.3-beta.16 → 1.26.3-beta.19

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 CHANGED
@@ -5,7 +5,7 @@ declare const _default: {
5
5
  configs: {
6
6
  recommended: {
7
7
  plugins: {
8
- "react-x": {
8
+ "react-hooks-extra": {
9
9
  readonly meta: {
10
10
  readonly name: string;
11
11
  readonly version: string;
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ declare const _default: {
5
5
  configs: {
6
6
  recommended: {
7
7
  plugins: {
8
- "react-x": {
8
+ "react-hooks-extra": {
9
9
  readonly meta: {
10
10
  readonly name: string;
11
11
  readonly version: string;
package/dist/index.js CHANGED
@@ -50,7 +50,7 @@ var rules = {
50
50
 
51
51
  // package.json
52
52
  var name2 = "eslint-plugin-react-hooks-extra";
53
- var version = "1.26.3-beta.16";
53
+ var version = "1.26.3-beta.19";
54
54
  var createRule = shared.createRuleForPlugin("hooks-extra");
55
55
  function isFromHookCall(name3, context, settings, predicate = eff.constTrue) {
56
56
  const hookAlias = settings.additionalHooks[name3] ?? [];
@@ -840,14 +840,14 @@ function makeConfig(config) {
840
840
  return {
841
841
  ...config,
842
842
  plugins: {
843
- "react-x": plugin
843
+ "react-hooks-extra": plugin
844
844
  }
845
845
  };
846
846
  }
847
- function makeLegacyConfig(config) {
847
+ function makeLegacyConfig({ rules: rules2 }) {
848
848
  return {
849
- plugins: ["react-x"],
850
- rules: config.rules
849
+ plugins: ["react-hooks-extra"],
850
+ rules: rules2
851
851
  };
852
852
  }
853
853
  var index_default = {
package/dist/index.mjs CHANGED
@@ -27,7 +27,7 @@ var rules = {
27
27
 
28
28
  // package.json
29
29
  var name2 = "eslint-plugin-react-hooks-extra";
30
- var version = "1.26.3-beta.16";
30
+ var version = "1.26.3-beta.19";
31
31
  var createRule = createRuleForPlugin("hooks-extra");
32
32
  function isFromHookCall(name3, context, settings, predicate = constTrue) {
33
33
  const hookAlias = settings.additionalHooks[name3] ?? [];
@@ -817,14 +817,14 @@ function makeConfig(config) {
817
817
  return {
818
818
  ...config,
819
819
  plugins: {
820
- "react-x": plugin
820
+ "react-hooks-extra": plugin
821
821
  }
822
822
  };
823
823
  }
824
- function makeLegacyConfig(config) {
824
+ function makeLegacyConfig({ rules: rules2 }) {
825
825
  return {
826
- plugins: ["react-x"],
827
- rules: config.rules
826
+ plugins: ["react-hooks-extra"],
827
+ rules: rules2
828
828
  };
829
829
  }
830
830
  var index_default = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-hooks-extra",
3
- "version": "1.26.3-beta.16",
3
+ "version": "1.26.3-beta.19",
4
4
  "description": "ESLint React's ESLint plugin for React Hooks related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -50,12 +50,12 @@
50
50
  "@typescript-eslint/utils": "^8.24.1",
51
51
  "string-ts": "^2.2.1",
52
52
  "ts-pattern": "^5.6.2",
53
- "@eslint-react/ast": "1.26.3-beta.16",
54
- "@eslint-react/core": "1.26.3-beta.16",
55
- "@eslint-react/eff": "1.26.3-beta.16",
56
- "@eslint-react/jsx": "1.26.3-beta.16",
57
- "@eslint-react/shared": "1.26.3-beta.16",
58
- "@eslint-react/var": "1.26.3-beta.16"
53
+ "@eslint-react/ast": "1.26.3-beta.19",
54
+ "@eslint-react/core": "1.26.3-beta.19",
55
+ "@eslint-react/shared": "1.26.3-beta.19",
56
+ "@eslint-react/eff": "1.26.3-beta.19",
57
+ "@eslint-react/var": "1.26.3-beta.19",
58
+ "@eslint-react/jsx": "1.26.3-beta.19"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/react": "^19.0.10",
@@ -85,6 +85,6 @@
85
85
  "scripts": {
86
86
  "build": "tsup --dts-resolve",
87
87
  "lint:publish": "publint",
88
- "lint:type": "tsc --noEmit"
88
+ "lint:ts": "tsc --noEmit"
89
89
  }
90
90
  }