Skip to content

Commit

Permalink
release: 1.28.1-beta.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Rel1cx committed Feb 27, 2025
1 parent ca01b61 commit 86ae536
Show file tree
Hide file tree
Showing 19 changed files with 42 additions and 28 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.28.1-next.4
1.28.1-beta.4
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eslint-react/monorepo",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"private": true,
"description": "Monorepo for eslint-plugin-react-[x, dom, web-api, hooks-extra, naming-convention].",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eslint-react/core",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and Patterns.",
"homepage": "https://github.com/Rel1cx/eslint-react",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin-react-debug/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-react-debug",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "ESLint React's ESLint plugin for debugging related rules.",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin-react-dom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-react-dom",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "ESLint React's ESLint plugin for React DOM related rules.",
"keywords": [
"react",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-react-hooks-extra",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "ESLint React's ESLint plugin for React Hooks related rules.",
"keywords": [
"react",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-react-naming-convention",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "ESLint React's ESLint plugin for naming convention related rules.",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin-react-web-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-react-web-api",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "ESLint React's ESLint plugin for interacting with Web APIs",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin-react-x/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-react-x",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "A set of composable linting rules for libraries and frameworks that use React as a UI runtime.",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/eslint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eslint-react/eslint-plugin",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "More than 80 high-quality linting rules for writing better React code.",
"keywords": [
"react",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

# Variable: CustomComponentPropSchema

> `const` **CustomComponentPropSchema**: [`ObjectSchema`](../-internal-/interfaces/ObjectSchema.md)\<\{ `as`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>, `undefined`\>; `controlled`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`BooleanSchema`](../-internal-/interfaces/BooleanSchema.md)\<`undefined`\>, `undefined`\>; `defaultValue`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>, `undefined`\>; `name`: [`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>; \}, `undefined`\>
> `const` **CustomComponentPropSchema**: [`ObjectSchema`](../-internal-/interfaces/ObjectSchema.md)\<\{ `as`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>, `undefined`\>; `defaultValue`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>, `undefined`\>; `name`: [`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>; \}, `undefined`\>
2 changes: 1 addition & 1 deletion packages/shared/docs/variables/CustomComponentSchema.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Variable: CustomComponentSchema

> `const` **CustomComponentSchema**: [`ObjectSchema`](../-internal-/interfaces/ObjectSchema.md)\<\{ `as`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>, `undefined`\>; `attributes`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`ArraySchema`](../-internal-/interfaces/ArraySchema.md)\<[`ObjectSchema`](../-internal-/interfaces/ObjectSchema.md)\<\{ `as`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>, `undefined`\>; `controlled`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`BooleanSchema`](../-internal-/interfaces/BooleanSchema.md)\<`undefined`\>, `undefined`\>; `defaultValue`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>, `undefined`\>; `name`: [`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>; \}, `undefined`\>, `undefined`\>, `undefined`\>; `name`: [`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>; \}, `undefined`\>
> `const` **CustomComponentSchema**: [`ObjectSchema`](../-internal-/interfaces/ObjectSchema.md)\<\{ `as`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>, `undefined`\>; `attributes`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`ArraySchema`](../-internal-/interfaces/ArraySchema.md)\<[`ObjectSchema`](../-internal-/interfaces/ObjectSchema.md)\<\{ `as`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>, `undefined`\>; `defaultValue`: [`OptionalSchema`](../-internal-/interfaces/OptionalSchema.md)\<[`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>, `undefined`\>; `name`: [`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>; \}, `undefined`\>, `undefined`\>, `undefined`\>; `name`: [`StringSchema`](../-internal-/interfaces/StringSchema.md)\<`undefined`\>; \}, `undefined`\>
## Description

Expand Down
32 changes: 24 additions & 8 deletions packages/shared/docs/variables/DEFAULT_ESLINT_REACT_SETTINGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,33 @@ This is used to inform the ESLint React plugins how to treat these components du

> `readonly` **importSource**: `"react"` = `"react"`
### jsxPragma
### ~~jsxPragma?~~

> `readonly` **jsxPragma**: `"createElement"` = `"createElement"`
> `readonly` `optional` **jsxPragma**: `string`
### jsxPragmaFrag
The identifier that’s used for JSX Element creation.

> `readonly` **jsxPragmaFrag**: `"Fragment"` = `"Fragment"`
#### Default

`"createElement"`

#### Deprecated

### ~~jsxPragmaFrag?~~

> `readonly` `optional` **jsxPragmaFrag**: `string`
The identifier that’s used for JSX fragment elements.

#### Description

This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").

#### Default

`"Fragment"`

#### Deprecated

### polymorphicPropName

Expand All @@ -60,10 +80,6 @@ This is used to inform the ESLint React plugins how to treat these components du

> `readonly` **skipImportCheck**: `true` = `true`
### strict

> `readonly` **strict**: `false` = `false`
### version

> `readonly` **version**: `"detect"` = `"detect"`
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eslint-react/shared",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "ESLint React's Shared constants and functions.",
"homepage": "https://github.com/Rel1cx/eslint-react",
"bugs": {
Expand Down
4 changes: 1 addition & 3 deletions packages/shared/src/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const CustomComponentPropSchema = object({
as: optional(string()),
/**
* Whether the prop is controlled or not in the user-defined component.
* @internal
* @example
* `true`
*/
Expand Down Expand Up @@ -174,11 +175,8 @@ export type ESLintSettings = InferOutput<typeof ESLintSettingsSchema>;
export const DEFAULT_ESLINT_REACT_SETTINGS = {
...parse(ESLintReactSettingsSchema, {}),
importSource: "react",
jsxPragma: "createElement",
jsxPragmaFrag: "Fragment",
polymorphicPropName: "as",
skipImportCheck: true,
strict: false,
version: "detect",
additionalHooks: {
useEffect: ["useIsomorphicLayoutEffect"],
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/ast/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eslint-react/ast",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "ESLint React's TSESTree AST utility module.",
"homepage": "https://github.com/Rel1cx/eslint-react",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/eff/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eslint-react/eff",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "JavaScript and TypeScript utilities (previously some re-exports of the effect library).",
"homepage": "https://github.com/Rel1cx/eslint-react",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/jsx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eslint-react/jsx",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "ESLint React's TSESTree AST utility module for static analysis of JSX.",
"homepage": "https://github.com/Rel1cx/eslint-react",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/var/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eslint-react/var",
"version": "1.28.1-next.4",
"version": "1.28.1-beta.4",
"description": "ESLint React's TSESTree AST utility module for static analysis of variables.",
"homepage": "https://github.com/Rel1cx/eslint-react",
"bugs": {
Expand Down

0 comments on commit 86ae536

Please sign in to comment.