React Navigation's introduction page suggests the use of the following destructuring assignment:
const { navigate } = this.props.navigation;
However, when I implemented React Navigation in my App, ESLint is complaining about this line describing these both errors:
'navigation' is missing in props validation (react/prop-types)
'navigation.navigation' is missing in props validation (react/prop-types)
Even though the app seems to be working as intended, how would it be possible to remove these error lines?