github Rel1cx/eslint-react v1.6.0

latest releases: v1.53.1, v1.53.0, v1.52.9...
13 months ago

What's Changed

✨ New

  • Add controlled setting to settings["react-x"].additionalComponents' attributes object to set whether it is controlled or not
  • Add glob support to settings["react-x"].additionalComponents' name setting
  • Add default settings for react-x settings to presets
  • Undeprecate rule no-implicit-key and improve its usefulness
  • Undeprecate rule no-complicated-conditional-rendering and rename it to no-complex-conditional-rendering (the previous rule will still be available until the next major update to avoid breaking changes)

🐞 Fixes

  • no-direct-set-state-in-use-(layout?)-effect should warn only for the set function

🪄 Improvements

  • Remove no-direct-set-state-in-use-(layout?)-effect from recommended presets

New Contributors

Full Changelog: v1.5.30...v1.6.0

Don't miss a new eslint-react release

NewReleases is sending notifications on new releases.