Releases: Rel1cx/eslint-react
Releases · Rel1cx/eslint-react
v0.10.0
v0.9.8-beta.2
v0.9.8-beta.2 (Tue Dec 19 2023)
🪄 Improvements
- Optimize
recommendedandrecommended-legacypresets.
v0.9.8
v0.9.8 (Tue Dec 19 2023)
✨ New
- Add rule
react/ensure-forward-ref-using-ref
🪄 Improvements
- Reduce false positives in rule
react/no-unstable-nested-components - Reduce false positives in rule
debug/function-component - Optimize
recommendedandrecommended-legacypresets - Update
@typescript-eslint's packages to6.15.0
v0.9.8-beta.1
v0.9.8-beta.1 (Tue Dec 19 2023)
🪄 Improvements
- Minor improvements.
v0.9.8-beta.0
v0.9.8-beta.0 (Sun Dec 17 2023)
✨ New
- Add rule
react/ensure-forward-ref-using-ref
🪄 Improvements
-
Reduce false positives in rule
react/no-unstable-nested-components -
Reduce false positives in rule
debug/function-component
v0.9.7
v0.9.7 (Sun Dec 17 2023)
💥 Breaking Changes
- Rule
named-convention/filename-extensionrenameruleoption toallow
🐞 Fixes
- Fix where functions in
<Component footer={() => <div />} />or<Component Footer={() => <div />} />are treated as components - Fix false positive in rule
react/no-unstable-nested-components - Fix false positive in rule
debug/function-component
🪄 Improvements
-
Rules now support reading JSX extensions from
settings.eslintReact.jsx.extensions -
Replace ❌ Incorrect and ✅ Correct with Failing and Passing in rule docs
v0.9.7-beta.2
v0.9.7-beta.2 (Sat Dec 16 2023)
🐞 Fixes
- Update default rule option in
named-convention/filenametoPascalCase
v0.9.7-beta.1
v0.9.7-beta.1 (Thu Dec 14 2023)
🪄 Improvements
- Minor improvements
v0.9.7-beta.0
v0.9.7-beta.0 (Thu Dec 14 2023)
💥 Breaking Changes
- Rule
named-convention/filename-extensionrenameruleoption toallow
✨ New
- Rule
named-convention/filenameaddextensionsoption - Rule
named-convention/filename-extensionaddextensionsoption
v0.9.6
v0.9.6 (Tue Dec 12 2023)
✨ New
- Add rule
react-hooks/prefer-use-state-lazy-initialization
🪄 Improvements
- Rule
named-convention/component-nameadd bothstringandobjectoptions support - Rule
named-convention/filenameadd bothstringandobjectoptions support - Rule
named-convention/filename-extensionadd bothstringandobjectoptions support - Rule
debug/react-hooksreportshookCalls.lengthinstead ofcost - Update
@typescript-eslint's packages to6.14.0