Tag

git-hooks

1 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Jan 18, 2023 · Mobile Development

Exploring Nowinandroid Project Build Scripts and Best Practices

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.

AndroidBuild ScriptsGradle
0 likes · 9 min read
Exploring Nowinandroid Project Build Scripts and Best Practices
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.

ESLintcommitlintfrontend
0 likes · 24 min read
Setting Up Stylelint, LS‑Lint, Husky, Lint‑Staged, and Commitlint for a Robust Frontend Workflow
Ops Development Stories
Ops Development Stories
Sep 22, 2021 · Operations

Enforce Custom Commit Message Formats in GitLab with Server Hooks

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.

DevOpsGitLabci/cd
0 likes · 10 min read
Enforce Custom Commit Message Formats in GitLab with Server Hooks
GrowingIO Tech Team
GrowingIO Tech Team
Jan 14, 2021 · Frontend Development

Master Frontend Tooling: Prettier, Stylelint, ESLint, and Git Hooks for Design Systems

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
Master Frontend Tooling: Prettier, Stylelint, ESLint, and Git Hooks for Design Systems
DevOps Engineer
DevOps Engineer
Sep 26, 2020 · Operations

Why Define Git Commit and Branch Naming Conventions and How to Enforce Them

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.

Conventional CommitsDevOpsbranch-naming
0 likes · 10 min read
Why Define Git Commit and Branch Naming Conventions and How to Enforce Them
vivo Internet Technology
vivo Internet Technology
Sep 23, 2020 · Frontend Development

A Comprehensive Guide to ESLint: History, Usage, and Project Integration

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.

ESLintJavaScriptautomation
0 likes · 21 min read
A Comprehensive Guide to ESLint: History, Usage, and Project Integration
Xueersi Online School Tech Team
Xueersi Online School Tech Team
May 15, 2020 · Mobile Development

Optimizing iOS App Resources: Classification, Removal, Isolation, and Automated Image Compression

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.

Mobile DevelopmentResource Optimizationgit-hooks
0 likes · 9 min read
Optimizing iOS App Resources: Classification, Removal, Isolation, and Automated Image Compression
JD Tech
JD Tech
May 21, 2018 · Fundamentals

Defect Prevention and Test Mindset: Using Static Code Analysis with SonarQube and Git Hooks

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.

defect preventiongit-hookssoftware testing
0 likes · 14 min read
Defect Prevention and Test Mindset: Using Static Code Analysis with SonarQube and Git Hooks