December 2019
Intermediate to advanced
598 pages
12h 21m
English
Now that Visual Studio Code is linting our code, let's carry out the following steps to understand how we can configure the rules that ESLint executes:
{ "extends": "react-app"}
This file defines the rules that ESLint executes. We have just told it to execute all the rules that are configured in CRA.
const App: React.FC = () => { const unused = 'something'; return ( ... );};
We'll see that ESLint immediately flags this line as being unused:
That's great—this means our code is being ...
Read now
Unlock full access