Automate Prettier, ESLint using Husky and Lint-Staged

Maybe an automated robot chef is not for you as of now, but you can always add automation to your project! Learn how to automate Prettier and ESLint as a pre-commit Git hook using Husky and Lint-Staged. Learn the conflict of interest issue between Prettier and Eslint and how to seperate concerns. Formatting is for Prettier, code quality is for ESLint. Just keep in mind: SEPERATE THE CONCERNS; Prettier - formatting, ESLint - code quality 0:00 Introduction - My Robot Chef 1:17 Section Overview 1:48 Install the required Node Modules 2:18 Configure Prettier 2:49 Configure ESLint 5:27 Install Lint-Staged 6:36 Lint-Staged Install Complete Overview 7:27 Demonstrate the Git Pre-commit Hook 8:54 Conflict of Interest Between Prettier and ESlint 10:35 Problems Continue.. async nature of Lint-Staged 11:12 Sequential Operation in Lint-Staged 12:30 SEPERATE THE CONERNS!!! 15:36 Final Review 17:32 Outro Prettier: https://prettier.io/ ESLint: https://eslint.org/ Lint-Staged: https://www.npmjs.com/package/lint-st... Husky: https://typicode.github.io/husky/#/