Tagged articles
git-hooks
16 articles · Page 1 of 1
This article details how to enforce commit message standards with commitlint and husky Git hooks, including step-by-step configuration, hook execution flow, the husky 'h' engine internals, and a practical cheatsheet for commit types and bypass commands.
Prettiercommit-message-conventionscommitlint
0 likes · 12 min read

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

This article explains how Git Hooks act as an automation engine for common team tasks—code formatting, commit‑message validation, test execution, CI/CD triggers, and branch protection—by showing concrete hook scripts, client‑side and server‑side examples, and how tools like Husky, commitlint and lint‑staged simplify hook management.
CI/CDGitautomation
0 likes · 11 min read

An RCE vulnerability (CVE‑2024‑32002) in Git allows attackers to embed malicious hooks via a recursive submodule and a case‑insensitive symlink, so that cloning the repository executes arbitrary code such as launching the calculator, affecting Git versions up to 2.45.0 unless patched.
CVE-2024-32002git-hooksremote code execution
0 likes · 10 min read

This article walks through the nowinandroid Android sample project's build scripts, covering Gradle property configurations, automatic Git‑hook installation, includeBuild usage, reusable build‑logic plugins, Version Catalog dependency management, Spotless code‑style checks, and custom Lint rules to improve build performance and code quality.
AndroidGradleVersion Catalog
0 likes · 9 min read

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

This article explains how to use LLVM's clang-format and clang-tidy tools for C/C++ code formatting and static analysis, covering Docker images, binary installations, and integration into development workflows via GitHub Actions and pre‑commit git hooks to enforce consistent code quality.
C++CIClang-Tidy
0 likes · 11 min read

This article explains what ESLint is, walks through its installation and basic configuration, dives into detailed rule, parser, and plugin settings, describes its AST‑based analysis process, and shows how to integrate it with tools like VSCode, Prettier, Husky and lint‑staged for robust JavaScript code quality enforcement.
ESLintJavaScriptPrettier
0 likes · 19 min read

This guide explains how to create repository‑specific and global GitLab server hooks that validate commit messages against a custom pattern, showing step‑by‑step configuration, a Go pre‑receive script, and verification commands to ensure only properly formatted commits are accepted.
CI/CDCommit MessageGitLab
0 likes · 10 min read

This article explains how GrowingIO's Design System leverages a component library and introduces essential frontend development tools—including Prettier, stylelint, ESLint, Commitizen, commitlint, lint‑staged, and Husky—detailing their installation, configuration, usage, and integration into CI pipelines to ensure consistent, maintainable code.
CIcode formattingdesign-system
0 likes · 13 min read

The article explains the importance of establishing Git commit message and branch naming standards, demonstrates the benefits of structured conventions, provides concrete examples and regex patterns, and shows how to enforce them with Git hooks such as Bitbucket's Yet Another Commit Checker.
Commit MessageGitbranch naming
0 likes · 10 min read

This guide traces ESLint’s evolution from early lint tools, shows how to install and configure it, run auto‑fixes, integrate with editors, enforce quality via Husky, lint‑staged and commit‑lint, and combine these practices into a defensive moat that keeps repositories clean and consistent.
ESLintFront-endautomation
0 likes · 21 min read

Learn how to enforce Python coding standards by using Flake8 for local static analysis and pre-commit hooks for Git integration, covering installation, configuration, and practical usage to automatically detect style violations, syntax errors, and complexity issues before committing code.
Pythoncode lintingflake8
0 likes · 4 min read

This article explains how to analyze and reduce the size of iOS .ipa packages by classifying resources, using LSUnusedResources to identify unused files, isolating business‑line assets via podspec subspecs, and automating image compression with tools like ImageOptim, TinyPNG and pre‑commit Git hooks.
Resource Optimizationgit-hooksiOS
0 likes · 9 min read

The article explains how early defect prevention through a strong test mindset, exploratory testing, and automated static code analysis with tools like SonarQube and Git hooks can dramatically reduce bug‑fix costs, improve software quality, and streamline development workflows.
SonarQubedefect preventiongit-hooks
0 likes · 14 min read

This guide walks you through installing Flake8 on CentOS 6.4 with Python 2.6, adding optional plugins, running the linter on your files, and integrating it into Git hooks to automatically enforce coding standards.
code qualityflake8git-hooks
0 likes · 3 min read
