Releases: Rel1cx/eslint-react
Releases · Rel1cx/eslint-react
v1.5.15
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
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
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
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
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
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
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
v1.5.8 (Thu 11 Apr 2024)
🪄 Improvements
- Update
@typescript-eslint
's packages to 7.6.0
.
v1.5.7
v1.5.7 (Thu 28 Mar 2024)
🪄 Improvements
- Update
@typescript-eslint
's packages to 7.4.0
.
v1.5.6
v1.5.6 (Tue 12 Mar 2024)
🪄 Improvements
- Update
@typescript-eslint
's packages to 7.2.0
.