If you are building a web app using React and Express and encounter this error, then add in "eslint.workingDirectories": ["./database"]" in the eslintrc file to store your schema's files in your directories so that your VS Code can find it. The code I'm using comes from Tech with Tim's Instagram Clone Github Page:
Tech with Tim's Code: https://github.com/techwithtim/Instag....