after installing the threeJS I kept having the eslint-plugin-react rule react/no-unknown-property false negatives on all props for threeJS while trying to pass props..
I tried disabling eslint-plugin-react rule, but it wasn't the best fix
/* "react/no-unknown-property": ["error", { "ignore": ["args"] }]*/
this package solved the issue for me @react-three/eslint-plugin
follow the instructions after installation
npm install @react-three/eslint-plugin --save-dev)"plugin:@react-three/recommended"to the extend in eslintrc.cjs file@react-threeto the list of plugin.See solution here