Automatic Next.js Code Linting with ESLint & Husky Git Hooks

preview_player
Показать описание

🧐 What's Inside
00:00 - Intro
04:45 - Customizing ESLint config with additional rules like no unused variables
06:42 - Automating linting on pre-commit with Husky and Git Hooks
11:47 - Fixing linting issues automatically using the ESLint fix option
15:02 - Tips when using linting tools like additional rules and configs
17:05 - Outro

🗒️ Read More

🔔 Subscribe for more tech and developer videos

🐦 Get updates straight to your Twitter @colbyfayock

📸 Catch the next stream live on Twitch @colbyfayock

✉️ Or a newsletter right to your inbox!

💝 Sponsor me for more free content like this!

🎥 Want to know what A/V equipment I use?

🧰 More Resources

ESLint Rules

ESLint Options - Fixing Rules

Husky

🎼 Music
Music from Uppbeat (free for Creators!):
License code: JYJJUZRXDCECFHNV

#colbyfayock #eslint #nextjs #huskyjs #linting #automation #webdevelopment
Рекомендации по теме
Комментарии
Автор

Great tutorial Colby. Thank you very much this is very useful.

supa
Автор

Great tutorial, can you please make one on RTL, Jest and Cypress automation on pre-commit and also how to write test cases.

siddharthanand
Автор

Please make a series of advance topics in next.js

ARSHADKHAN-hcpb
Автор

pls make a video and use lint stage too

farazmehraien
Автор

How do I configure eslint so it could lint my code, throw errors and warning in command-line during the runtime as I write the code?

suonokzhe
Автор

I wish the volume was little bit louder :(

Aaron-qyvb