eslint-plugin-react-x 2.4.1-next.2 → 2.4.1-next.4

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ var __exportAll = (all, symbols) => {
34
34
  //#endregion
35
35
  //#region package.json
36
36
  var name$6 = "eslint-plugin-react-x";
37
- var version = "2.4.1-next.2";
37
+ var version = "2.4.1-next.4";
38
38
 
39
39
  //#endregion
40
40
  //#region src/utils/create-rule.ts
@@ -1644,8 +1644,7 @@ function create$28(context) {
1644
1644
  }
1645
1645
  function isDevelopmentOnlyCheck(node) {
1646
1646
  if (node.type !== AST_NODE_TYPES.IfStatement) return false;
1647
- if (AST.isProcessEnvNodeEnvCompare(node.test, "!==", "production")) return true;
1648
- return false;
1647
+ return AST.isProcessEnvNodeEnvCompare(node.test, "!==", "production");
1649
1648
  }
1650
1649
 
1651
1650
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-x",
3
- "version": "2.4.1-next.2",
3
+ "version": "2.4.1-next.4",
4
4
  "description": "A set of composable ESLint rules for for libraries and frameworks that use React as a UI runtime.",
5
5
  "keywords": [
6
6
  "react",
@@ -46,11 +46,11 @@
46
46
  "string-ts": "^2.3.1",
47
47
  "ts-api-utils": "^2.1.0",
48
48
  "ts-pattern": "^5.9.0",
49
- "@eslint-react/ast": "2.4.1-next.2",
50
- "@eslint-react/eff": "2.4.1-next.2",
51
- "@eslint-react/shared": "2.4.1-next.2",
52
- "@eslint-react/var": "2.4.1-next.2",
53
- "@eslint-react/core": "2.4.1-next.2"
49
+ "@eslint-react/ast": "2.4.1-next.4",
50
+ "@eslint-react/core": "2.4.1-next.4",
51
+ "@eslint-react/eff": "2.4.1-next.4",
52
+ "@eslint-react/shared": "2.4.1-next.4",
53
+ "@eslint-react/var": "2.4.1-next.4"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/react": "^19.2.7",