pylint module cv2 has no member code example
Example 1: module 'cv2' has no 'videocapture' member python
"python.linting.pylintArgs":["--extension-pkg-whitelist=cv2"]
Example 2: pylint no name in module cv2
"python.linting.pylintArgs":["--extension-pkg-whitelist=cv2"]
#if that still doesn't work you can also use
"python.linting.pylintArgs":["--generate-members"]