Automate Prettier ESLint Your ReactJS App With Lint-Staged And Husky

Опубликовано: 03 Апрель 2021
на канале: Bout Education
6,930
122

Automating your ReactJS project with Prettier and ESLint routine with Lint-staged couldn't be easier. Learn how to implement a git pre-commit hook and run Prettier ESLint for you instead of you typing away to get at the command line for every change. Learn how create-react-app eslint conflicts with your projects eslint and how you can disable eslint on create-react-app to make it compatible. Automation is fun!

0:00 Introduction
0:34 Overview of Implementation
1:54 Install Prettier, ESLint, Husky, Lint-staged
2:11 Configure Prettier and ESLint
6:44 Conflict between create-react-app and Your ESLint
9:29 Disable ESLint on create-react-app
11:57 Install Configure Lint-Staged
13:25 Test the Pre-commit Hook is Working
16:19 Outro

Prettier: https://prettier.io/
ESLint: https://eslint.org/
Husky: https://github.com/typicode/husky
Lint-staged: https://github.com/okonet/lint-staged


Смотрите видео Automate Prettier ESLint Your ReactJS App With Lint-Staged And Husky онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Bout Education 03 Апрель 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,930 раз и оно понравилось 122 людям.