awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
lint-staged avatar

lint-staged/lint-staged

0
View on GitHub↗
14,460 stars·460 forks·JavaScript·mit·25 viewswww.npmjs.com/package/lint-staged↗

Lint Staged

Lint-staged is a command-line utility designed to automate code quality checks and formatting tasks within a Git repository. It functions as a pre-commit hook runner that executes defined operations exclusively on files currently staged for commit, ensuring that only code meeting project standards is permanently saved.

The tool distinguishes itself by providing granular control over the development workflow through file filtering and task orchestration. It uses glob-pattern matching to isolate specific file types and executes sequences of shell commands in a strict order. To maintain repository integrity, it manages task concurrency and preserves the working directory state, automatically rolling back changes if any step in the execution sequence fails.

This utility supports a range of repository automation tasks, including automated code formatting and validation, by integrating directly into the commit process. It is configured through standard project files and is intended for use as part of a local development environment.

Features

  • Git Hook Managers - Executes code quality checks and formatting commands exclusively on files staged for commit in a Git repository.
  • Git Workflow Automation - Manages task execution sequences and file filtering to ensure consistent code standards before every commit.
  • Commit Checkers - Ensures that only code meeting project standards is committed by automatically running linters and formatters on staged files.
  • Code Formatting Tools - Maintains consistent code style across a repository by automatically applying formatting rules to files before they are permanently saved.
  • Pre-commit Hooks - Streamlines the development process by executing essential validation tasks automatically during the commit phase to prevent broken code.
  • Task Automation Tools - Runs complex sequences of shell commands on specific subsets of files to maintain project integrity and enforce development policies.
  • Version Control Stashing - Creates a temporary backup of the working directory using version control primitives to ensure a clean environment during task execution.
  • Staged File Indexers - Identifies the subset of files currently staged for commit by querying the version control system index before executing any tasks.
  • File Pattern Matching - Filters the list of staged files against user-defined path patterns to isolate specific file types for targeted processing.
  • Sequential Execution Engines - Executes a defined pipeline of commands in a strict order where each step must complete successfully before the next begins.

Star history

Star history chart for lint-staged/lint-stagedStar history chart for lint-staged/lint-staged

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Lint Staged

Similar open-source projects, ranked by how many features they share with Lint Staged.
  • harisekhon/devops-bash-toolsHariSekhon avatar

    HariSekhon/DevOps-Bash-tools

    8,062View on GitHub↗

    DevOps-Bash-tools is a collection of shell scripts and aliases designed to automate cloud infrastructure, container orchestration, and CI/CD pipelines. It provides a comprehensive toolset for managing operational workflows through the command line. The project specializes in automating tasks across multiple platforms, including managing namespaces and secrets in Kubernetes, auditing resources in AWS and GCP, and triggering builds or managing environment variables in GitHub Actions, GitLab CI, and CircleCI. It also includes a toolkit for interacting with container registries to query manifests

    Shellapiawsbash
    View on GitHub↗8,062
  • walter201230/pythonwalter201230 avatar

    walter201230/Python

    26,516View on GitHub↗

    Python is a high-level, interpreted programming language designed for readability and versatility. It operates via a bytecode-based virtual machine and manages memory automatically through reference-counting garbage collection. The language supports multiple programming paradigms, including object-oriented, imperative, and functional styles, and provides a comprehensive standard library for system operations, networking, and data handling. The language is distinguished by its dynamic nature, allowing for runtime object introspection and metaclass-driven class creation. It utilizes protocol-ba

    Pythonpythonpython3
    View on GitHub↗26,516
  • sds/overcommitsds avatar

    sds/overcommit

    4,008View on GitHub↗

    Overcommit is a Git hook manager and pre-commit validation framework designed to automate the execution of scripts and checks during various Git events. It serves as a workflow automation tool that ensures code quality and project standards are met before changes are committed or pushed to a remote repository. The system distinguishes itself through a comprehensive YAML-based configuration that allows for detailed hook behavior control, including file execution filtering, conditional skipping, and the management of hook dependencies. It provides specialized roles such as a commit message vali

    Ruby
    View on GitHub↗4,008
  • j178/prekj178 avatar

    j178/prek

    6,297View on GitHub↗

    Prek is a Git hook manager written in Rust that runs configured hooks as a single binary without requiring Python or other external runtimes. It executes hooks faster than standard tools through parallel processing and bundled Rust implementations, and includes a built-in hook repository that enables fully offline operation without network access or environment setup. The tool supports both TOML and YAML configuration formats with identical semantics, and can run hooks from existing pre-commit configuration files without modification. Prek distinguishes itself through workspace-aware monorepo

    Rustgitgit-hookspre-commit
    View on GitHub↗6,297
See all 30 alternatives to Lint Staged→

Frequently asked questions

What does lint-staged/lint-staged do?

Lint-staged is a command-line utility designed to automate code quality checks and formatting tasks within a Git repository. It functions as a pre-commit hook runner that executes defined operations exclusively on files currently staged for commit, ensuring that only code meeting project standards is permanently saved.

What are the main features of lint-staged/lint-staged?

The main features of lint-staged/lint-staged are: Git Hook Managers, Git Workflow Automation, Commit Checkers, Code Formatting Tools, Pre-commit Hooks, Task Automation Tools, Version Control Stashing, Staged File Indexers.

What are some open-source alternatives to lint-staged/lint-staged?

Open-source alternatives to lint-staged/lint-staged include: harisekhon/devops-bash-tools — DevOps-Bash-tools is a collection of shell scripts and aliases designed to automate cloud infrastructure, container… walter201230/python — Python is a high-level, interpreted programming language designed for readability and versatility. It operates via a… sds/overcommit — Overcommit is a Git hook manager and pre-commit validation framework designed to automate the execution of scripts and… j178/prek — Prek is a Git hook manager written in Rust that runs configured hooks as a single binary without requiring Python or… moonrepo/moon — Moon is a monorepo build system and task runner designed to orchestrate complex projects with multiple packages. It… okonet/lint-staged — lint-staged is a git pre-commit task runner that executes linters and formatters specifically on files staged in git.…