Skip to content

Commit 8ba3bff

Browse files
authored
release: 1.17.2-beta.2 (#866)
1 parent abee751 commit 8ba3bff

File tree

17 files changed

+17
-18
lines changed

17 files changed

+17
-18
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.17.2-next.2
1+
1.17.2-beta.2

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": "1.17.2-next.2",
3+
"version": "1.17.2-beta.2",
44
"private": true,
55
"description": "A series of composable ESLint plugins for libraries and frameworks that use React as a UI runtime.",
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": "1.17.2-next.2",
3+
"version": "1.17.2-beta.2",
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/core/src/component/component-collector.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ export function useComponentCollector(
8181
const [key, fn, isComponent] = functionStack.at(-1) ?? [];
8282
if (!key || !fn || !isComponent) return functionStack.pop();
8383
const shouldDrop = AST.getNestedReturnStatements(fn.body)
84-
.slice()
85-
.reverse()
84+
.toReversed()
8685
.some(r => {
8786
return context.sourceCode.getScope(r).block === fn
8887
&& r.argument !== null

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": "1.17.2-next.2",
3+
"version": "1.17.2-beta.2",
44
"description": "ESLint React's ESLint plugin for debugging related rules.",
55
"keywords": [
66
"eslint",

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": "1.17.2-next.2",
3+
"version": "1.17.2-beta.2",
44
"description": "ESLint React's ESLint plugin for React DOM related rules.",
55
"keywords": [
66
"eslint",

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": "1.17.2-next.2",
3+
"version": "1.17.2-beta.2",
44
"description": "ESLint React's ESLint plugin for React Hooks related rules.",
55
"keywords": [
66
"eslint",

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": "1.17.2-next.2",
3+
"version": "1.17.2-beta.2",
44
"description": "ESLint React's ESLint plugin for naming convention related rules.",
55
"keywords": [
66
"eslint",

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": "1.17.2-next.2",
3+
"version": "1.17.2-beta.2",
44
"description": "ESLint React's ESLint plugin for interacting with Web APIs",
55
"keywords": [
66
"eslint",

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": "1.17.2-next.2",
3+
"version": "1.17.2-beta.2",
44
"description": "A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.",
55
"keywords": [
66
"eslint",

0 commit comments

Comments
 (0)