What's Changed
✨ New
- feat: add
naming-convention/use-state
andnaming-convention/context-name
to recommended presets by @Rel1cx in #956
🐞 Fixes
- fix: correct readonly checks and test cases in
prefer-read-only-props
by @Rel1cx in #957 - fix: rework
naming-convention/component-name
rule to follow eslint-plugin-react-hooks@5.0 by @Rel1cx in #959Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means
_Button
or_component
are no longer valid. - fix:
naming-convention/use-state
fails with multiple words, closes #960 by @Rel1cx in #961
Full Changelog: v1.29.0...v1.30.0