Disabling the prop-types tool as above is also an alternative, but I think it is very useful to use ESLint when developing projects with React, so you can continue on your way by downloading the prop-types package to verify prop types. To install the package, it will be enough to run the code npm install prop-types
in the terminal. Then, you can import it with the command import PropTypes from 'prop-types'
in the component you want to use.