Specify react version

Hi,

is it possible to specify the React version to be analyzed? For one of our repos, we get issues like “Avoid usage of deprecated React methods JS-0441” which apply to react 18, while we use 16.
It should be possible to extract from the package.json, but maybe there is also a more explicit way.

Hi @joerghaubrichs,

We do not support specifying the React version, however, we do detect the version of React from the applicable package.json files.

Avoid usage of deprecated React methods: JS-0441 should not have been raised on React versions below v16.9.0.

We have handled this case now and released a fix.

1 Like