Questions
Have a go at answering the following questions to test what you have learned in this chapter:
- What option from the
create-react-app
command did we use to create a React app with a TypeScript project? - What ESLint rule could we use to help prevent
console.log
statements being added to our code? - What setting in
.prettierrc
could we set to use single quotes in our code? - What setting in Visual Studio Code tells the ESLint extension to check React and TypeScript code?
- What settings in Visual Studio tell it to use the Prettier extension to automatically format the code when it's saved?