What's Changed
- [New] add
no-unused-class-component-methods
by @pawelnvk in #2239 - [New] Add
no-arrow-function-lifecycle
rule by @ngtan in #1980 - [react/jsx-uses-vars]: False negative on HTML elements used in JSX by @karlhorky in #2916
- [Fix]
propTypes
: addVoidFunctionComponent
to react generic list by @vedadeepta in #3092 - [Fix]
no-arrow-function-lifecycle
: prevent crashing on ClassProperty by @AriPerkkio in #3098 - [Dev Deps] Upgrade
eslint-plugin-eslint-plugin
to v4 by @bmish in #3105 - [Tests] use parsers.all + features to maximally repeat test cases across parsers, plus fixes by @ljharb in #3108
- [Fix]
display-name
: unwrap TSas
expressions by @ljharb in #3110 - [Fix]
no-unstable-components
: improve handling of objects containing render functions by @fizwidget in #3111 - [Fix]
prop-types
,propTypes
: add forwardRef<>, ForwardRefRenderFunction<> prop-types by @vedadeepta in #3112 - [Tests] test on the new babel eslint parser by @ljharb in #3113
- [Dev Deps] update
eslint-remote-tester
by @AriPerkkio in #3118 - [New] add
no-invalid-html-attribute
rule by @Nokel81 in #2863 - [Dev Deps] update
eslint-remote-tester-run-action
by @AriPerkkio in #3120 - [Fix]
destructuring-assignment
, component detection: improve component detection by @vedadeepta in #3122 - [Docs]
jsx-no-target-blank
: adjust options description by @gebsh in #3124 - [New] support eslint 8.x by @MichaelDeBoey in #3059
New Contributors
- @ngtan made their first contribution in #1980
- @karlhorky made their first contribution in #2916
- @bmish made their first contribution in #3105
- @fizwidget made their first contribution in #3111
- @gebsh made their first contribution in #3124
- @MichaelDeBoey made their first contribution in #3059
Full Changelog: v7.26.1...v7.27.0