lint-staged

Community

Run linters only on staged files in pre-commit.

Authortrystan2k
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Configure lint-staged to run linters only on git-staged files as part of a pre-commit hook, keeping pre-commit checks fast and focused.

Core Features & Use Cases

  • Config file options: supports .lintstagedrc.json, .lintstagedrc.js/.mjs, or lint-staged config in package.json.
  • Scoped linting: runs on staged files only, enabling targeted linting for faster commits.
  • Tool integrations: integrates with Biome, ESLint, and Prettier, with performance tuning guidance.
  • Monorepo and edge cases: provides strategies for large repos and complex file patterns.

Quick Start

Create a basic lint-staged setup that runs Biome and ESLint/Prettier on staged JavaScript files.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lint-staged
Download link: https://github.com/trystan2k/padelbuddy/archive/main.zip#lint-staged

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.