npm eslint-plugin-react 7.27.0
v7.27.0

latest releases: 7.37.2, 7.37.1, 7.37.0...
2 years ago

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: add VoidFunctionComponent 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 TS as 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

Full Changelog: v7.26.1...v7.27.0

Don't miss a new eslint-plugin-react release

NewReleases is sending notifications on new releases.