Skip to content

Commit f8f053a

Browse files
committed
release: 2.0.0-next.136
2 parents ef66409 + 6a816cf commit f8f053a

File tree

25 files changed

+121
-24
lines changed

25 files changed

+121
-24
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0-next.135
1+
2.0.0-next.136

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/monorepo",
3-
"version": "2.0.0-next.135",
3+
"version": "2.0.0-next.136",
44
"private": true,
55
"description": "Monorepo for eslint-plugin-react-[x, dom, web-api, naming-convention].",
66
"keywords": [

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/core",
3-
"version": "2.0.0-next.135",
3+
"version": "2.0.0-next.136",
44
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",
55
"homepage": "https://github.com/Rel1cx/eslint-react",
66
"bugs": {

packages/plugins/eslint-plugin-react-debug/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-debug",
3-
"version": "2.0.0-next.135",
3+
"version": "2.0.0-next.136",
44
"description": "ESLint React's ESLint plugin for debugging related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-dom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-dom",
3-
"version": "2.0.0-next.135",
3+
"version": "2.0.0-next.136",
44
"description": "ESLint React's ESLint plugin for React DOM related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-hooks-extra/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-hooks-extra",
3-
"version": "2.0.0-next.135",
3+
"version": "2.0.0-next.136",
44
"description": "ESLint React's ESLint plugin for React Hooks related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-naming-convention/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-naming-convention",
3-
"version": "2.0.0-next.135",
3+
"version": "2.0.0-next.136",
44
"description": "ESLint React's ESLint plugin for naming convention related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-web-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-web-api",
3-
"version": "2.0.0-next.135",
3+
"version": "2.0.0-next.136",
44
"description": "ESLint React's ESLint plugin for interacting with Web APIs",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-x/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-x",
3-
"version": "2.0.0-next.135",
3+
"version": "2.0.0-next.136",
44
"description": "A set of composable ESLint rules for for libraries and frameworks that use React as a UI runtime.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-x/src/rules/no-misused-capture-owner-stack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as AST from "@eslint-react/ast";
22
import * as ER from "@eslint-react/core";
3-
import { type RuleContext, type RuleFeature } from "@eslint-react/kit";
3+
import { ContextDetection, type RuleContext, type RuleFeature } from "@eslint-react/kit";
44
import { getSettingsFromContext } from "@eslint-react/shared";
55
import { AST_NODE_TYPES as T, type TSESTree } from "@typescript-eslint/types";
66
import type { RuleListener } from "@typescript-eslint/utils/ts-eslint";
@@ -71,6 +71,6 @@ export function create(context: RuleContext<MessageID, []>): RuleListener {
7171

7272
function isDevelopmentOnlyCheck(node: TSESTree.Node) {
7373
if (node.type !== T.IfStatement) return false;
74-
if (AST.isProcessEnvNodeEnvCompare(node.test, "!==", "production")) return true;
74+
if (ContextDetection.isProcessEnvNodeEnvCompare(node.test, "!==", "production")) return true;
7575
return false;
7676
}

0 commit comments

Comments
 (0)