Skip to content
Tagged articles

lint-staged

6 articles · Page 1 of 1
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Oct 14, 2026 · Frontend Development

Enforce Code Standards at Commit with husky + lint-staged

This article explains how to use husky and lint-staged to automatically run ESLint and Prettier on staged files before each Git commit, preventing non-compliant code from entering the repository, with step-by-step setup for husky v9, configuration details, common pitfalls, and the complete commit workflow.

ESLintPrettiercode quality
0 likes · 8 min read
Enforce Code Standards at Commit with husky + lint-staged
Ops Development Stories
Ops Development Stories
Sep 15, 2023 · Frontend Development

Streamline Frontend Development with Husky, lint‑staged, ESLint, and Prettier

This guide walks through automating frontend development tasks—using Husky for Git hooks, lint‑staged for staged file filtering, commitlint for standardized commit messages, ESLint and @typescript-eslint for code checking, and Prettier for formatting—providing installation commands, configuration snippets, and practical usage tips for React + TypeScript projects.

ESLintGitPrettier
0 likes · 10 min read
Streamline Frontend Development with Husky, lint‑staged, ESLint, and Prettier
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 15, 2022 · Frontend Development

Setting Up Stylelint, LS‑Lint, Husky, Lint‑Staged, and Commitlint for a Robust Frontend Workflow

This tutorial walks through configuring Stylelint, LS‑Lint, Husky Git hooks, Lint‑Staged, and Commitlint to enforce code style, file‑naming conventions, pre‑commit checks, and conventional commit messages, providing a comprehensive engineering setup for modern frontend projects.

ESLintcommitlintgit-hooks
0 likes · 24 min read
Setting Up Stylelint, LS‑Lint, Husky, Lint‑Staged, and Commitlint for a Robust Frontend Workflow