/debugging

Dúvidas que vou tendo ao longo do caminho

Dúvidas que vou tendo ao longo do caminho

Can't resolve github Dependabot alert

Erro: Dependabot cannot create a pull request as one or more other dependencies require a version that is incompatible with this update.

Solution: Manually update all the dependencies using npm or yarn

npm audit fix
yarn upgrade --latest

ESLint error with correct code TypeScript

Erro: You correct the code, but the eslint still indicates an erro on your code

Solution: (Microsoft solution) Restart the typescript server Ctrl + Shift + P

TypeScript: Restart TS Server

Checkout outdated packages and update them

yarn outdated
yarn upgrade-interactive --latest

[GIT] Create new branch

git checkout -b new-branch origin/new-branch

[GIT] Log as graph

git log --graph --oneline --all
  or
gitk --all

[GIT] Remove file from commit history

git filter-repo --path [file] --invert-paths
git push --force

[GIT] Set username and e-mail

git config --global user.name "Mona Lisa"
git config --global user.email "mona@lisa.com"

git config --global --list