James Zhangblog.jczhang.comยทJan 28, 2024Format and fix code: VS Code config and git pre-commit hook with husky and lint-stagedIn a typical web code repository, we use linters like eslint to highlight warnings or syntax errors and use tools like prettier to format the code. There are a few ways to trigger the action: VS Code At editor level, e.g. VS Code, we can use command ...169 readsJamesz TakehuskyAdd a thoughtful commentNo comments yetBe the first to start the conversation.