lintstagedrc

Community

Automates linting and formatting on staged files.

Authorsayali-ingle-pdl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generates a lint-staged configuration to automatically fix and format staged files before commit, ensuring code quality before every commit and reducing manual linting steps.

Core Features & Use Cases

  • Automatic fixes: Creates a lint-staged config and runs ESLint with --fix and Prettier on staged JavaScript, TypeScript, and Vue files.
  • Stylelint support: If Stylelint is present in the project, the configuration includes stylelint --fix for CSS/SCSS files to maintain styling consistency.
  • Safe pre-commit workflow: Encourages a deterministic pre-commit process by validating patterns, ensuring the recommended .lintstagedrc.json format, and guiding verification of CLI flags.

Quick Start

Generate a .lintstagedrc.json file at the project root to configure lint-staged for pre-commit fixes and formatting.

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: lintstagedrc
Download link: https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template/archive/main.zip#lintstagedrc

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.