These notes are written using VSCode as the IDE.
- dbaeumer.vscode-eslint
# install required packages
# https://github.com/typescript-eslint/typescript-eslint
npm i -D eslint @typescript-eslint/{parser,eslint-plugin}
# for airbnb style (backend only, no react)
# https://www.npmjs.com/package/eslint-config-airbnb-typescript
npm i -D eslint-config-airbnb-typescript eslint-plugin-import
# maintain sync on aws dependencies
npm i -D npm-check-updates
# add this script to package.json to upgrade all packages
# "ncu": "ncu -u && npm update && npm install",
Restart the ESLint Server to allow for the project changes to take effect.
CMD + SHIFT + P => ESLint: Restart ESLint Server
NOTE: you might still have to restart VSCode. I noticed that a problem was being noted in tsconfig.json
until I restarted.