Eslint: JavaScript’s best friend. Let’s talk about it! This video talks about what eslint is, why use eslint and how to install and configure eslint in JavaScript/React projects. In this vide, I go through adding eslint to a create-react-app project. I then walk through how to fix eslint errors, how to fix the config file to allow jest files to be run and how to override rules in the eslint config file.
🚀 eslint website: https://eslint.org/
🚀 Installing & configuring eslint: npm init @eslint/config
🚀 Command to run eslint manually: eslint src -- fix
🚀 Semicolon override: "semi": [2, "always"]
0:18 What is eslint?
1:21 Installing & Configuring eslint
03:20 Fixing eslint errors
05:20 Configuring jest in eslint
05:59 Configuring Webstorm w/ eslint
06:21 Adding eslint rules to the config file
7:11 Why ignoring eslint errors is bad news
7:43 Outro and thank you!