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

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

Automatic Next.js Code Linting with ESLint & Husky Git Hooks - Learn how to automate running linting on Next.js projects with ESLint and Husky Git Hooks.

Learn how to automate running linting on Next.js projects with ESLint and Husky Git Hooks.

🧐 What's Inside

  • 00:00 - Intro
  • 00:11 - Tools we'll use like ESLint, Next.js, and Husky Git Hooks
  • 02:18 - Creating a new Next.js app with Create Next App
  • 03:04 - Exploring how ESLint works that comes out of the box with Next.js 11
  • 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 https://spacejelly.dev/posts/how-to-automate-code-linting-in-next-js-with-eslint-husky-git-hooks/

🔔 Subscribe for more tech and developer videos https://www.youtube.com/colbyfayock?sub_confirmation=1

🐦 Get updates straight to your Twitter @colbyfayock https://twitter.com/colbyfayock

📸 Catch the next stream live on Twitch @colbyfayock https://twitch.tv/colbyfayock

✉️ Or a newsletter right to your inbox! https://www.colbyfayock.com/newsletter/

💝 Sponsor me for more free content like this! GitHub: https://github.com/sponsors/colbyfayock Other: [email protected]

👨‍🚀 Brought to by colbyfayock.com https://www.colbyfayock.com

🎥 Want to know what A/V equipment I use? https://www.colbyfayock.com/what-i-use

🧰 More Resources

Next.js 11 https://nextjs.org/blog/next-11

Next.js ESLint https://nextjs.org/docs/basic-features/eslint

ESLint Rules https://eslint.org/docs/rules/

ESLint Options - Fixing Rules https://eslint.org/docs/user-guide/command-line-interface#options

Husky https://github.com/typicode/husky

🎼 Music Music from Uppbeat (free for Creators!): https://uppbeat.io/t/soundroll/all-the-things-you-love License code: JYJJUZRXDCECFHNV

next eslint git

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Best Practices for Using Git

Git has become ubiquitous as the preferred version control system (VCS) used by developers. Using Git adds immense value especially for engineering teams where several developers work together since it becomes critical to have a system of integrating everyone's code reliably.

7 Best Practices in GIT for Your Code Quality

Git plays a significant role in software development. It allows developers to work on the same code base at the same time. Check out 7 best practices for Git.There is no doubt that Git plays a significant role in software development. It allows developers to work on the same code base at the same time. Still, developers struggle for code quality.

Git Commands You Can Use To Dig Through Your Git History

Git Commands You Can Use To Dig Through Your Git History. In this short article, we’ll be exploring some quick git commands that can help us in digging through our repositories’ history of commits.

Git Rebase Tutorial and Comparison with Git Merge

In this article, I will explain to you a few differences between git merge, git rebase, and the git interactive rebase.I will tell a bit about what pros...

Mirroring Git Changes From One Server to Another Server

Hello all, nowadays most of the development teams using GIT version control, some of you may have a requirement of mirroring your team's git changes from one server to another Git server. This article will help you to achieve the Git mirroring between one server to another server.