You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Telling from the documentation, I can see that the default is to use the latest stable React release if no version is specified. That's great because in my case I always run on the latest stable release, so the default option is what suits me best. However, there is a warning when running eslint because I have no version specified in my config.
From the implementation I can see that the default version is just set to '999.999.999', so I can fix the warning (and get the default behaviour) by adding this to my .eslint.js:
There is this warning when not specifying a React version in
.eslint.js
:Telling from the documentation, I can see that the default is to use the latest stable React release if no version is specified. That's great because in my case I always run on the latest stable release, so the default option is what suits me best. However, there is a warning when running
eslint
because I have no version specified in my config.From the implementation I can see that the default version is just set to
'999.999.999'
, so I can fix the warning (and get the default behaviour) by adding this to my.eslint.js
:It would be much nicer though to declare
"version": "latest"
instead of"version": "999.999.999"
.The text was updated successfully, but these errors were encountered: