Skip to content

Commit 8182809

Browse files
committed
release: 1.23.0
1 parent c804767 commit 8182809

File tree

17 files changed

+30
-30
lines changed

17 files changed

+30
-30
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.23.0-beta.1
1+
1.23.0

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/monorepo",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
44
"private": true,
55
"description": "Monorepo for eslint-plugin-react-[x, dom, web-api, hooks-extra, naming-convention].",
66
"keywords": [

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/core",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-debug",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
44
"description": "ESLint React's ESLint plugin for debugging related rules.",
55
"keywords": [
66
"react",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-dom",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-hooks-extra",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
44
"description": "ESLint React's ESLint plugin for React Hooks related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-hooks-extra/src/rules/no-unnecessary-use-callback.spec.ts

+14-14
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ ruleTester.run(RULE_NAME, rule, {
66
invalid: [
77
{
88
code: /* tsx */ `
9-
import { useState, useCallback } from "react";
9+
import { useState, useCallback } from "react";
1010
11-
function MyComponent() {
12-
const a = 1;
13-
const handleSnapshot = useCallback(() => Number(1), []);
11+
function MyComponent() {
12+
const a = 1;
13+
const handleSnapshot = useCallback(() => Number(1), []);
1414
15-
return null;
16-
}
17-
`,
15+
return null;
16+
}
17+
`,
1818
errors: [
1919
{
2020
messageId: "noUnnecessaryUseCallback",
@@ -23,15 +23,15 @@ ruleTester.run(RULE_NAME, rule, {
2323
},
2424
{
2525
code: /* tsx */ `
26-
import { useState, useCallback } from "react";
26+
import { useState, useCallback } from "react";
2727
28-
function MyComponent() {
29-
const a = 1;
30-
const handleSnapshot = useCallback(() => new String("1"), []);
28+
function MyComponent() {
29+
const a = 1;
30+
const handleSnapshot = useCallback(() => new String("1"), []);
3131
32-
return null;
33-
}
34-
`,
32+
return null;
33+
}
34+
`,
3535
errors: [
3636
{
3737
messageId: "noUnnecessaryUseCallback",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-naming-convention",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-web-api",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
44
"description": "ESLint React's ESLint plugin for interacting with Web APIs",
55
"keywords": [
66
"react",

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

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

packages/plugins/eslint-plugin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/eslint-plugin",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
44
"description": "A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.",
55
"keywords": [
66
"react",

packages/shared/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/shared",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
44
"description": "ESLint React's Shared constants and functions.",
55
"homepage": "https://github.com/rEl1cx/eslint-react",
66
"bugs": {

packages/types/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/types",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
44
"description": "ESLint React's type definitions.",
55
"homepage": "https://github.com/rEl1cx/eslint-react",
66
"bugs": {

packages/utilities/ast/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/ast",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
44
"description": "ESLint React's TSESTree AST utility module.",
55
"homepage": "https://github.com/rEl1cx/eslint-react",
66
"bugs": {

packages/utilities/eff/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/eff",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
44
"description": "A subset of effect to produce a more lightweight version of the library.",
55
"homepage": "https://github.com/rEl1cx/eslint-react",
66
"bugs": {

packages/utilities/jsx/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/jsx",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
44
"description": "ESLint React's TSESTree AST utility module for static analysis of JSX.",
55
"homepage": "https://github.com/rEl1cx/eslint-react",
66
"bugs": {

packages/utilities/var/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/var",
3-
"version": "1.23.0-beta.1",
3+
"version": "1.23.0",
44
"description": "ESLint React's TSESTree AST utility module for static analysis of variables",
55
"homepage": "https://github.com/rEl1cx/eslint-react",
66
"bugs": {

0 commit comments

Comments
 (0)