0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
Independent technology for modern publishing, memberships, subscriptions and newsletters.
Find a file
renovate[bot] 57e87cffb3
Update dependency eslint-plugin-react to v7.37.4 (#22702)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[eslint-plugin-react](https://redirect.github.com/jsx-eslint/eslint-plugin-react)
| [`7.33.0` ->
`7.37.4`](https://renovatebot.com/diffs/npm/eslint-plugin-react/7.33.0/7.37.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-react/7.37.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-react/7.37.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-react/7.33.0/7.37.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-react/7.33.0/7.37.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>jsx-eslint/eslint-plugin-react (eslint-plugin-react)</summary>

###
[`v7.37.4`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7374---20250112)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.3...v7.37.4)

##### Fixed

- \[`no-unknown-property`]: support `onBeforeToggle`, `popoverTarget`,
`popoverTargetAction` attributes ([#&#8203;3865][]
[@&#8203;acusti](https://redirect.github.com/acusti))
- \[types] fix types of flat configs ([#&#8203;3874][]
[@&#8203;ljharb](https://redirect.github.com/ljharb))

[7.37.4]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.3...v7.37.4

[#&#8203;3874]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3874

[#&#8203;3865]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3865

###
[`v7.37.3`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7373---20241223)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.2...v7.37.3)

##### Fixed

- \[`no-danger`]: avoid a crash on a nested component name
([#&#8203;3833][] [@&#8203;ljharb](https://redirect.github.com/ljharb))
- \[Fix] types: correct generated type declaration ([#&#8203;3840][]
[@&#8203;ocavue](https://redirect.github.com/ocavue))
- \[`no-unknown-property`]: support `precedence` prop in react 19
([#&#8203;3829][] [@&#8203;acusti](https://redirect.github.com/acusti))
- \[`prop-types`]: props missing in validation when using generic types
from a namespace import ([#&#8203;3859][]
[@&#8203;rbondoc96](https://redirect.github.com/rbondoc96))

##### Changed

- \[Tests] \[`jsx-no-script-url`]: Improve tests ([#&#8203;3849][]
[@&#8203;radu2147](https://redirect.github.com/radu2147))
- \[Docs] fix broken links: \[`default-props-match-prop-types`],
\[`jsx-boolean-value`], \[`jsx-curly-brace-presence`], \[`jsx-no-bind`],
\[`no-array-index-key`], \[`no-is-mounted`],
\[`no-render-return-value`], \[`require-default-props`]
([#&#8203;3841][]
[@&#8203;bastiendmt](https://redirect.github.com/bastiendmt))

[7.37.3]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.2...v7.37.3

[#&#8203;3859]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3859

[#&#8203;3849]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3849

[#&#8203;3841]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3841

[#&#8203;3840]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3840

[#&#8203;3833]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3833

[#&#8203;3829]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3829

###
[`v7.37.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7372---20241022)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.1...v7.37.2)

##### Fixed

- \[`destructuring-assignment`]: fix false negative when using `typeof
props.a` ([#&#8203;3835][]
[@&#8203;golopot](https://redirect.github.com/golopot))

##### Changed

- \[Refactor] \[`destructuring-assignment`]: use
`getParentStatelessComponent` ([#&#8203;3835][]
[@&#8203;golopot](https://redirect.github.com/golopot))

[7.37.2]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.1...v7.37.2

[#&#8203;3835]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3835

###
[`v7.37.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7371---20241001)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.0...v7.37.1)

##### Fixed

- \[meta] do not npmignore `d.ts` files ([#&#8203;3836][]
[@&#8203;ljharb](https://redirect.github.com/ljharb))

##### Changed

- \[readme] Fix shared settings link ([#&#8203;3834][]
[@&#8203;MgenGlder](https://redirect.github.com/MgenGlder))

[7.37.1]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.0...v7.37.1

[#&#8203;3836]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3836

[#&#8203;3834]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3834

###
[`v7.37.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7370---20240926)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.1...v7.37.0)

##### Added

- add type generation ([#&#8203;3830][]
[@&#8203;voxpelli](https://redirect.github.com/voxpelli))
- \[`no-unescaped-entities`]: add suggestions ([#&#8203;3831][]
[@&#8203;StyleShit](https://redirect.github.com/StyleShit))
- \[`forbid-component-props`]: add
`allowedForPatterns`/`disallowedForPatterns` options ([#&#8203;3805][]
[@&#8203;Efimenko](https://redirect.github.com/Efimenko))
- \[`no-unstable-nested-components`]: add `propNamePattern` to support
custom render prop naming conventions ([#&#8203;3826][]
[@&#8203;danreeves](https://redirect.github.com/danreeves))

##### Changed

- \[readme] flat config example for react 17+ ([#&#8203;3824][]
[@&#8203;GabenGar](https://redirect.github.com/GabenGar))

[7.37.0]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.1...v7.37.0

[#&#8203;3831]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3831

[#&#8203;3830]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3830

[#&#8203;3826]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3826

[#&#8203;3824]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3824

[#&#8203;3805]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3805

###
[`v7.36.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7361---20240912)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.0...v7.36.1)

##### Fixed

- \[`no-is-mounted`]: fix logic in method name check ([#&#8203;3821][]
[@&#8203;Mathias-S](https://redirect.github.com/Mathias-S))
- \[`jsx-no-literals`]: Avoid crashing on valueless boolean props
([#&#8203;3823][]
[@&#8203;reosarevok](https://redirect.github.com/reosarevok))

[7.36.1]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.0...v7.36.1

[#&#8203;3823]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3823

[#&#8203;3821]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3821

###
[`v7.36.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7360---20240912)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.0)

##### Added

- \[`no-string-refs`]: allow this.refs in > 18.3.0 ([#&#8203;3807][]
[@&#8203;henryqdineen](https://redirect.github.com/henryqdineen))
- \[`jsx-no-literals`] Add `elementOverrides` option and the ability to
ignore this rule on specific elements ([#&#8203;3812][]
[@&#8203;Pearce-Ropion](https://redirect.github.com/Pearce-Ropion))
- \[`forward-ref-uses-ref`]: add rule for checking ref parameter is
added
(\[[#&#8203;3667](https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3667)]\[]
[@&#8203;NotWoods](https://redirect.github.com/NotWoods))

##### Fixed

- \[`function-component-definition`], \[`boolean-prop-naming`],
\[`jsx-first-prop-new-line`], \[`jsx-props-no-multi-spaces`],
`propTypes`: use type args ([#&#8203;3629][]
[@&#8203;HenryBrown0](https://redirect.github.com/HenryBrown0))
- JSX pragma: fail gracefully ([#&#8203;3632][]
[@&#8203;ljharb](https://redirect.github.com/ljharb))
- \[`jsx-props-no-spreading`]: add `explicitSpread` option to schema
([#&#8203;3799][] [@&#8203;ljharb](https://redirect.github.com/ljharb))

##### Changed

- \[Tests] add
[@&#8203;typescript-eslint/parser](https://redirect.github.com/typescript-eslint/parser)
v6 ([#&#8203;3629][]
[@&#8203;HenryBrown0](https://redirect.github.com/HenryBrown0))
- \[Tests] add
[@&#8203;typescript-eslint/parser](https://redirect.github.com/typescript-eslint/parser)
v7 and v8 ([#&#8203;3629][]
[@&#8203;hampustagerud](https://redirect.github.com/hampustagerud))
- \[Docs] \[`no-danger`]: update broken link ([#&#8203;3817][]
[@&#8203;lucasrmendonca](https://redirect.github.com/lucasrmendonca))
- \[types] add jsdoc type annotations ([#&#8203;3731][]
[@&#8203;y-hsgw](https://redirect.github.com/y-hsgw))
- \[Tests] `button-has-type`: add test case with spread
([#&#8203;3731][] [@&#8203;y-hsgw](https://redirect.github.com/y-hsgw))

[7.36.0]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.0

[#&#8203;3799]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3799

[#&#8203;3632]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632

[#&#8203;3812]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3812

[#&#8203;3731]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3731

[#&#8203;3694]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3667

[#&#8203;3629]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3629

[#&#8203;3817]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3817

[#&#8203;3807]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3807

###
[`v7.35.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7352---20240903)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.1...v7.35.2)

##### Fixed

- \[`jsx-curly-brace-presence`]: avoid autofixing attributes with double
quotes to a double quoted attribute ([#&#8203;3814][]
[@&#8203;ljharb](https://redirect.github.com/ljharb))

[7.35.2]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.1...v7.35.2

[#&#8203;3814]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3814

###
[`v7.35.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7351---20240902)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.35.1)

##### Fixed

- \[`jsx-curly-brace-presence`]: do not trigger on strings containing a
quote character ([#&#8203;3798][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))

[7.35.1]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.35.1

[#&#8203;3798]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3798

###
[`v7.35.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7350---20240719)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.4...v7.35.0)

##### Added

- support eslint v9 ([#&#8203;3759][]
[@&#8203;mdjermanovic](https://redirect.github.com/mdjermanovic))
- export flat configs from plugin root and fix flat config crash
([#&#8203;3694][]
[@&#8203;bradzacher](https://redirect.github.com/bradzacher)
[@&#8203;mdjermanovic](https://redirect.github.com/mdjermanovic))
- add \[`jsx-props-no-spread-multi`] ([#&#8203;3724][]
[@&#8203;SimonSchick](https://redirect.github.com/SimonSchick))
- \[`forbid-component-props`]: add `propNamePattern` to allow / disallow
prop name patterns ([#&#8203;3774][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))
- \[`jsx-handler-names`]: support ignoring component names
([#&#8203;3772][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))
- version settings: Allow react defaultVersion to be configurable
([#&#8203;3771][]
[@&#8203;onlywei](https://redirect.github.com/onlywei))
- \[`jsx-closing-tag-location`]: add `line-aligned` option
([#&#8203;3777]
[@&#8203;kimtaejin3](https://redirect.github.com/kimtaejin3))
- \[`no-danger`]: add `customComponentNames` option ([#&#8203;3748][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))

##### Fixed

- \[`no-invalid-html-attribute`]: substitute placeholders in suggestion
messages ([#&#8203;3759][]
[@&#8203;mdjermanovic](https://redirect.github.com/mdjermanovic))
- \[`sort-prop-types`]: single line type ending without semicolon
([#&#8203;3784][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))
- \[`require-default-props`]: report when required props have default
value ([#&#8203;3785][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))

##### Changed

- \[Refactor] `variableUtil`: Avoid creating a single flat variable
scope for each lookup ([#&#8203;3782][]
[@&#8203;DanielRosenwasser](https://redirect.github.com/DanielRosenwasser))

[7.35.0]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.4...v7.35.0

[#&#8203;3785]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3785

[#&#8203;3784]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3784

[#&#8203;3782]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3782

[#&#8203;3777]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3777

[#&#8203;3774]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3774

[#&#8203;3772]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3772

[#&#8203;3771]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3771

[#&#8203;3759]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3759

[#&#8203;3748]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3748

[#&#8203;3724]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3724

[#&#8203;3694]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3694

###
[`v7.34.4`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7344---20240713)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.3...v7.34.4)

##### Fixed

- \[`prop-types`]: fix `className` missing in prop validation false
negative ([#&#8203;3749][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))
- \[`sort-prop-types`]: Check for undefined before accessing
`node.typeAnnotation.typeAnnotation` ([#&#8203;3779][]
[@&#8203;tylerlaprade](https://redirect.github.com/tylerlaprade))

[7.34.4]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.3...v7.34.4

[#&#8203;3779]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3779

[#&#8203;3749]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3749

###
[`v7.34.3`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7343---20240618)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.2...v7.34.3)

##### Fixed

- \[`prop-types`]: null-check rootNode before calling getScope
([#&#8203;3762][] [@&#8203;crnhrv](https://redirect.github.com/crnhrv))
- \[`boolean-prop-naming`]: avoid a crash with a spread prop
([#&#8203;3733][] [@&#8203;ljharb](https://redirect.github.com/ljharb))
- \[`jsx-boolean-value`]: `assumeUndefinedIsFalse` with `never` must not
allow explicit `true` value ([#&#8203;3757][]
[@&#8203;6uliver](https://redirect.github.com/6uliver))
- \[`no-object-type-as-default-prop`]: enable rule for components with
many parameters ([#&#8203;3768][]
[@&#8203;JulienR1](https://redirect.github.com/JulienR1))
- \[`jsx-key`]: incorrect behavior for checkKeyMustBeforeSpread with map
callbacks ([#&#8203;3769][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))

[7.34.3]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.2...v7.34.3

[#&#8203;3769]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3769

[#&#8203;3768]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3768

[#&#8203;3762]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3762

[#&#8203;3757]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3757

[#&#8203;3733]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3733

###
[`v7.34.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7342---20240524)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.1...v7.34.2)

##### Fixed

- \[`boolean-prop-naming`]: avoid a crash with a non-TSTypeReference
type ([#&#8203;3718][]
[@&#8203;developer-bandi](https://redirect.github.com/developer-bandi))
- \[`jsx-no-leaked-render`]: invalid report if left eside is boolean
([#&#8203;3746][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))
- \[`jsx-closing-bracket-location`]: message shows `{{details}}` when
there are no details ([#&#8203;3759][]
[@&#8203;mdjermanovic](https://redirect.github.com/mdjermanovic))
- \[`no-invalid-html-attribute`]: ensure error messages are correct
([#&#8203;3759][]
[@&#8203;mdjermanovic](https://redirect.github.com/mdjermanovic),
[@&#8203;ljharb](https://redirect.github.com/ljharb))

##### Changed

- \[Refactor] create various eslint utils to fix eslint deprecations
([#&#8203;3759][]
[@&#8203;mdjermanovic](https://redirect.github.com/mdjermanovic),
[@&#8203;ljharb](https://redirect.github.com/ljharb))

[7.34.2]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.1...v7.34.2

[#&#8203;3759]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3759

[#&#8203;3746]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3746

[#&#8203;3718]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3718

###
[`v7.34.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7341---20240315)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.0...v7.34.1)

##### Fixed

- \[`jsx-no-leaked-render`]: prevent wrongly adding parens
([#&#8203;3700][]
[@&#8203;developer-bandi](https://redirect.github.com/developer-bandi))
- \[`boolean-prop-naming`]: detect TS interfaces ([#&#8203;3701][]
[@&#8203;developer-bandi](https://redirect.github.com/developer-bandi))
- \[`boolean-prop-naming`]: literalType error fix ([#&#8203;3704][]
[@&#8203;developer-bandi](https://redirect.github.com/developer-bandi))
- \[`boolean-prop-naming`]: allow TSIntersectionType ([#&#8203;3705][]
[@&#8203;developer-bandi](https://redirect.github.com/developer-bandi))
- \[`no-unknown-property`]: support `popover`, `popovertarget`,
`popovertargetaction` attributes ([#&#8203;3707][]
[@&#8203;ljharb](https://redirect.github.com/ljharb))
- \[`no-unknown-property`]: only match `data-*` attributes containing
`-` ([#&#8203;3713][]
[@&#8203;silverwind](https://redirect.github.com/silverwind))
- \[`checked-requires-onchange-or-readonly`]: correct options that were
behaving opposite ([#&#8203;3715][]
[@&#8203;jaesoekjjang](https://redirect.github.com/jaesoekjjang))

##### Changed

- \[`boolean-prop-naming`]: improve error message
([@&#8203;ljharb](https://redirect.github.com/ljharb))

[7.34.1]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.0...v7.34.1

[#&#8203;3715]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3715

[#&#8203;3713]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3713

[#&#8203;3707]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3707

[#&#8203;3705]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3705

[#&#8203;3704]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3704

[#&#8203;3701]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3701

[#&#8203;3700]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3700

###
[`v7.34.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7340---20240303)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.2...v7.34.0)

##### Added

- \[`sort-prop-types`]: give errors on TS types ([#&#8203;3615][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))
- \[`no-invalid-html-attribute`]: add support for
`apple-touch-startup-image` `rel` attributes in `link` tags
([#&#8203;3638][]
[@&#8203;thomashockaday](https://redirect.github.com/thomashockaday))
- \[`no-unknown-property`]: add requireDataLowercase option
([#&#8203;3645][]
[@&#8203;HermanBilous](https://redirect.github.com/HermanBilous))
- \[`no-unknown-property`]: add `displaystyle` on `<math>`
([#&#8203;3652][]
[@&#8203;lounsbrough](https://redirect.github.com/lounsbrough))
- \[`prefer-read-only-props`], \[`prop-types`], component detection:
allow components to be async functions ([#&#8203;3654][]
[@&#8203;pnodet](https://redirect.github.com/pnodet))
- \[`no-unknown-property`]: support `onResize` on audio/video tags
([#&#8203;3662][]
[@&#8203;caesar1030](https://redirect.github.com/caesar1030))
- \[`jsx-wrap-multilines`]: add `never` option to prohibit wrapping
parens on multiline JSX ([#&#8203;3668][]
[@&#8203;reedws](https://redirect.github.com/reedws))
- \[`jsx-filename-extension`]: add `ignoreFilesWithoutCode` option to
allow empty files ([#&#8203;3674][]
[@&#8203;burtek](https://redirect.github.com/burtek))
- \[`jsx-boolean-value`]: add `assumeUndefinedIsFalse` option
([#&#8203;3675][]
[@&#8203;developer-bandi](https://redirect.github.com/developer-bandi))
- `linkAttribute` setting, \[`jsx-no-target-blank`]: support multiple
properties ([#&#8203;3673][]
[@&#8203;burtek](https://redirect.github.com/burtek))
- \[`jsx-no-script-url`]: add `includeFromSettings` option to support
`linkAttributes` setting ([#&#8203;3673][]
[@&#8203;burtek](https://redirect.github.com/burtek))
- \[`jsx-one-expression-per-line`]: add `non-jsx` option to allow
non-JSX children in one line ([#&#8203;3677][]
[@&#8203;burtek](https://redirect.github.com/burtek))
- add \[`checked-requires-onchange-or-readonly`] rule ([#&#8203;3680][]
[@&#8203;jaesoekjjang](https://redirect.github.com/jaesoekjjang))

##### Fixed

- \[`jsx-no-leaked-render`]: preserve RHS parens for multiline jsx
elements while fixing ([#&#8203;3623][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))
- \[`jsx-key`]: detect conditional returns ([#&#8203;3630][]
[@&#8203;yialo](https://redirect.github.com/yialo))
- \[`jsx-newline`]: prevent a crash when `allowMultilines`
([#&#8203;3633][] [@&#8203;ljharb](https://redirect.github.com/ljharb))
- \[`no-unknown-property`]: use a better regex to avoid a crash
([#&#8203;3666][] [@&#8203;ljharb](https://redirect.github.com/ljharb)
[@&#8203;SCH227](https://redirect.github.com/SCH227))
- \[`prop-types`]: handle nested forwardRef + memo ([#&#8203;3679][]
[@&#8203;developer-bandi](https://redirect.github.com/developer-bandi))
- \[`no-unknown-property`]: add `fetchPriority` ([#&#8203;3697][]
[@&#8203;SevereCloud](https://redirect.github.com/SevereCloud))
- \[`forbid-elements`]: prevent a crash on `createElement()`
([#&#8203;3632][] [@&#8203;ljharb](https://redirect.github.com/ljharb))

##### Changed

- \[`jsx-boolean-value`]: make error messages clearer ([#&#8203;3691][]
[@&#8203;developer-bandi](https://redirect.github.com/developer-bandi))
- \[Refactor] `propTypes`: extract type params to var ([#&#8203;3634][]
[@&#8203;HenryBrown0](https://redirect.github.com/HenryBrown0))
- \[Refactor] \[`boolean-prop-naming`]: invert if statement
([#&#8203;3634][]
[@&#8203;HenryBrown0](https://redirect.github.com/HenryBrown0))
- \[Refactor] \[`function-component-definition`]: exit early if no type
params ([#&#8203;3634][]
[@&#8203;HenryBrown0](https://redirect.github.com/HenryBrown0))
- \[Refactor] \[`jsx-props-no-multi-spaces`]: extract type parameters to
var ([#&#8203;3634][]
[@&#8203;HenryBrown0](https://redirect.github.com/HenryBrown0))
- \[Docs] \[`jsx-key`]: fix correct example ([#&#8203;3656][]
[@&#8203;developer-bandi](https://redirect.github.com/developer-bandi))
- \[Tests] `jsx-wrap-multilines`: passing tests ([#&#8203;3545][]
[@&#8203;burtek](https://redirect.github.com/burtek))
- \[Docs] \[`iframe-missing-sandbox`]: fix link to iframe attribute on
mdn ([#&#8203;3690][]
[@&#8203;nnmrts](https://redirect.github.com/nnmrts))
- \[Docs] \[`hook-use-state`]: fix an undefined variable
([#&#8203;3626][]
[@&#8203;chentsulin](https://redirect.github.com/chentsulin))

[7.34.0]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.2...v7.34.0

[#&#8203;3697]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3697

[#&#8203;3691]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3691

[#&#8203;3690]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3690

[#&#8203;3680]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3680

[#&#8203;3679]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3679

[#&#8203;3677]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3677

[#&#8203;3675]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3675

[#&#8203;3674]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3674

[#&#8203;3673]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3673

[#&#8203;3668]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3668

[#&#8203;3666]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3666

[#&#8203;3662]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3662

[#&#8203;3656]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3656

[#&#8203;3654]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3654

[#&#8203;3652]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3652

[#&#8203;3645]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3645

[#&#8203;3638]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3638

[#&#8203;3634]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3634

[#&#8203;3633]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3633

[#&#8203;3632]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632

[#&#8203;3630]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3630

[#&#8203;3626]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3626

[#&#8203;3623]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3623

[#&#8203;3615]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3615

[#&#8203;3545]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3545

###
[`v7.33.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7332---20230815)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.1...v7.33.2)

##### Fixed

- \[`no-deprecated`]: prevent false positive on commonjs import
([#&#8203;3614][]
[@&#8203;akulsr0](https://redirect.github.com/akulsr0))
- \[`no-unsafe`]: report on the method instead of the entire component
([@&#8203;ljharb](https://redirect.github.com/ljharb))
- \[`no-deprecated`]: report on the destructured property instead of the
entire variable declarator
([@&#8203;ljharb](https://redirect.github.com/ljharb))
- \[`no-deprecated`]: report on the imported specifier instead of the
entire import statement
([@&#8203;ljharb](https://redirect.github.com/ljharb))
- \[`no-invalid-html-attribute`]: report more granularly
([@&#8203;ljharb](https://redirect.github.com/ljharb))

[7.33.2]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.1...v7.33.2

[#&#8203;3614]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3614

###
[`v7.33.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7331---20230729)

[Compare
Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.0...v7.33.1)

##### Fixed

- \[`require-default-props`]: fix config schema ([#&#8203;3605][]
[@&#8203;controversial](https://redirect.github.com/controversial))
- \[`jsx-curly-brace-presence`]: Revert
\[[#&#8203;3538](https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3538)]\[]
due to issues with intended string type casting usage ([#&#8203;3611][]
[@&#8203;taozhou-glean](https://redirect.github.com/taozhou-glean))
- \[`sort-prop-types`]: ensure sort-prop-types respects
noSortAlphabetically ([#&#8203;3610][]
[@&#8203;caesar1030](https://redirect.github.com/caesar1030))

[7.33.1]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.0...v7.33.1

[#&#8203;3611]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3611

[#&#8203;3610]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3610

[#&#8203;3605]:
https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3605

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/TryGhost/Ghost).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 07:50:58 +00:00
.devcontainer
.docker Added tinybird-cli to devcontainer (#22662) 2025-03-27 15:42:24 -07:00
.github Added login to dockerhub to CI pipeline (#22708) 2025-03-30 20:21:12 +01:00
.vscode Added configuration for the Tinybird VSCode Extension (#22636) 2025-03-25 12:45:56 -07:00
apps Update dependency eslint-plugin-tailwindcss to v3.18.0 (#22703) 2025-03-30 19:57:20 +00:00
ghost Update dependency chai to v4.5.0 (#22696) 2025-03-30 19:51:56 +00:00
.dockerignore
.editorconfig
.env.example
.gitattributes
.gitignore Added tooling for running sql directly in tb (#22651) 2025-03-26 16:50:03 +00:00
.gitmodules
compose.yml Moved @tryghost/identity-token-service to services folder 2025-03-27 15:03:05 +01:00
LICENSE
nx.json
package.json Update dependency eslint-plugin-react to v7.37.4 (#22702) 2025-03-31 07:50:58 +00:00
PRIVACY.md
README.md
SECURITY.md
yarn.lock Update dependency eslint-plugin-react to v7.37.4 (#22702) 2025-03-31 07:50:58 +00:00

 

Ghost Ghost

 

Ghost.orgForumDocsContributingTwitter

Downloads Latest release Build status Contributors

 

Fiercely independent, professional publishing. Ghost is the most popular open source, headless Node.js CMS which already works with all the tools you know and love.

 

Ghost(Pro) Ghost(Pro)

The easiest way to get a production instance deployed is with our official Ghost(Pro) managed service. It takes about 2 minutes to launch a new site with worldwide CDN, backups, security and maintenance all done for you.

For most people this ends up being the best value option because of how much time it saves — and 100% of revenue goes to the Ghost Foundation; funding the maintenance and further development of the project itself. So youll be supporting open source software and getting a great service!

 

Quickstart install

If you want to run your own instance of Ghost, in most cases the best way is to use our CLI tool

npm install ghost-cli -g

 

Then, if installing locally add the local flag to get up and running in under a minute - Local install docs

ghost install local

 

or on a server run the full install, including automatic SSL setup using LetsEncrypt - Production install docs

ghost install

 

Check out our official documentation for more information about our recommended hosting stack & properly upgrading Ghost, plus everything you need to develop your own Ghost themes or work with our API.

Contributors & advanced developers

For anyone wishing to contribute to Ghost or to hack/customize core files we recommend following our full development setup guides: Contributor guideDeveloper setup

 

Ghost sponsors

A big thanks to our sponsors and partners who make Ghost possible. If you're interested in sponsoring Ghost and supporting the project, please check out our profile on GitHub sponsors ❤️

DigitalOceanFastly

 

Getting help

Everyone can get help and support from a large community of developers over on the Ghost forum. Ghost(Pro) customers have access to 24/7 email support.

To stay up to date with all the latest news and product updates, make sure you subscribe to our changelog newsletter — or follow us on Twitter, if you prefer your updates bite-sized and facetious. 🎷🐢

 

Copyright & license

Copyright (c) 2013-2025 Ghost Foundation - Released under the MIT license. Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our trademark policy for info on acceptable usage.