Question · Next.js course · Module 1: Next.js Configuration
Husky and lint-staged
What are Husky and lint-staged used for in a project?
Answer options
- Running linters and formatters automatically before a commit (git hooks)
- Compiling the application for production
- Managing application state
- Rendering pages on the server
Show the answer
Correct answer:
- Running linters and formatters automatically before a commit (git hooks)