Skip to content

Releases: Rel1cx/eslint-react

v1.5.15

07 Jun 17:06
49f06c6
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • Remove languageOptions.parser from presets.
  • Remove @typescript-eslint/parser from peer dependencies.
  • Rule no-leaked-conditional-rendering: object should be considered as valid left-hand type.

New Contributors

Full Changelog: v1.5.14...v1.5.15

v1.5.14

30 May 06:34
eefbe74
Compare
Choose a tag to compare

v1.5.14 (Thu 30 May 2024)

✨ New

  • Add rule react/avoid-shorthand-boolean.
  • Add rule react/avoid-shorthand-fragment.

🐞 Fixes

  • Fix rule react-dom/no-missing-button-type false positive when using type attribute in a JSX expression.

v1.5.13

29 May 03:32
aaf24e8
Compare
Choose a tag to compare

v1.5.13 (Tue 28 May 2024)

🐞 Fixes

  • Fix components that use getDerivedStateFromError should not be warned by rule no-class-component.

🪄 Improvements

  • Update @typescript-eslint's packages to 7.11.0.

v1.5.12

16 May 19:34
f6297bf
Compare
Choose a tag to compare

v1.5.12 (Fri 17 May 2024)

🐞 Fixes

  • Fix ESLint peer dependency range in package.json.

🪄 Improvements

  • Update @typescript-eslint's packages to 7.9.0.
  • Minor improvements.

v1.5.11

08 May 05:38
e417eb8
Compare
Choose a tag to compare

v1.5.11 (Wed 08 May 2024)

✨ New

  • Rule no-class-component rule now allows class components with a componentDidCatch method (Thanks to @christopher-buss).
  • Settings reactOptions now supports importSource to specify the import source for React (Thanks to @christopher-buss).

🗑️ Deprecations

  • Deprecate rule no-implicit-key because it is stylistic and opinionated.
  • Deprecate rule no-complicated-conditional-rendering because it is stylistic and opinionated.

🪄 Improvements

  • Refactor React pragma and import name retrieval utils to support custom import source.
  • Update @typescript-eslint's packages to 7.8.0.

v1.5.10

28 Apr 08:59
b618be6
Compare
Choose a tag to compare

v1.5.10 (Sun 28 Apr 2024)

🪄 Improvements

  • Update react to 18.3.1.
  • Update @typescript-eslint's packages to 7.7.1.
  • Use a wider range of peerDependencies.

v1.5.9

19 Apr 14:11
8a8a020
Compare
Choose a tag to compare

v1.5.9 (Fri 19 Apr 2024)

🪄 Improvements

  • Optimize error messages of rules.
  • Update @typescript-eslint's packages to 7.7.0.

v1.5.8

14 Apr 17:19
84d5ea4
Compare
Choose a tag to compare

v1.5.8 (Thu 11 Apr 2024)

🪄 Improvements

  • Update @typescript-eslint's packages to 7.6.0.

v1.5.7

27 Mar 19:47
331705d
Compare
Choose a tag to compare

v1.5.7 (Thu 28 Mar 2024)

🪄 Improvements

  • Update @typescript-eslint's packages to 7.4.0.

v1.5.6

14 Mar 04:07
Compare
Choose a tag to compare

v1.5.6 (Tue 12 Mar 2024)

🪄 Improvements

  • Update @typescript-eslint's packages to 7.2.0.