Answers
- We used the
--template typescript
option on theÂcreate-react-app
 command to create a React app with a TypeScript project. - We could use the
no-console
rule to preventÂconsole.log
 statements being added to our code. - We can use the
"singleQuote": true
setting inÂ.prettierrc
 to use single quotes in our code. - The Eslint: Probe setting in Visual Studio Code tells the ESLint extension to check React and TypeScript code if it contains
typescript
andtypescriptreact
. - Default Formatter must be set to esbenp.prettier-vscode and Format on Save must be ticked for Prettier to automatically format the code when it's saved.