npm @eslint-react/eslint-plugin 1.6.0
v1.6.0

latest releases: 5.18.0, 5.17.3, 5.17.2...
2 years 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-plugin release

NewReleases is sending notifications on new releases.