ArnaudBarre / eslint-plugin-react-refresh

Validate that your components can safely be updated with Fast Refresh
MIT License
206 stars 13 forks source link

Warning is not appearing for enums #19

Closed RakhmatovR closed 1 year ago

RakhmatovR commented 1 year ago

Hello,

I have an exported component with an exported enum in one file, but I do not get a ESLint warning. But I do get a warning if I add an exported string into file. Shouldn't the enum be highlighted with error as well?

Screenshot ![image](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/assets/12181701/f929b4e5-492d-42c3-a014-228b6a5aac7c)

Thanks

ArnaudBarre commented 1 year ago

Thanks for the report, fixed in 0.4.3!