Skip to content

lint-staged

Open source

Runs linters and formatters only on files staged in Git

lint-staged preview

About lint-staged

lint-staged is an open source tool that runs linters and formatters on the files you have staged for a Git commit. Checks stay fast because they skip everything else in the project.

What it does

You describe in a config file which commands should run for which file patterns. When you commit, lint-staged runs those commands only on the matching staged files. It is often paired with a Git hooks tool so that it runs automatically. A failing check stops the commit, which keeps problem code out of the history.

Key features

  • Runs tasks on staged files only
  • Config file that matches file patterns
  • Supports both linters and formatters
  • Includes a helper for writing config files
  • Fits into the normal Git commit flow

Who it's for

lint-staged suits teams that already run linters or formatters in a project and want them to check only the changed files on commit.

Pricing and good to know

The project is open source under the MIT license. It is an npm package, so the project needs Node.js. Because it only checks staged files, a full lint of the whole project still needs its own command.

Highlights

  • Runs commands only on staged files
  • Matches commands to file patterns in a config file
  • Runs linters and formatters on each commit
  • Includes a helper for writing config files
  • Stops the commit when a check fails

Ratings & reviews

Rate lint-staged

Stars alone count straight away.0/300

Checking that you are human…

Was this page helpful?

FAQ

Frequently Asked Questions

Quick answers about the directory, listings and your privacy.

  • Web Tools Finder (WTF) is a curated directory built by developers and designers for web developers, designers, vibe coders, and freelancers. It brings useful tools and resources together in one place, helping you save time, discover better resources, and bookmark your favorites for free, without signing up.

    About Web Tools Finder
  • Yes, it is free. Browsing, searching and saving tools need no account. Your saved tools are kept in your browser on this device, so they are not shared between devices.

    Open your saved tools
  • You can discover AI tools, development resources, UI/UX design tools, graphics, website inspiration, open-source projects, learning materials, freelance resources, and more. We're also expanding into useful communities and groups to help you connect, learn, and grow.

    Browse the directory
  • Use the Search Directory, or press Ctrl K (Cmd K on a Mac) to search from any page. Each section lists its tools by category, and when tools have pricing details you can filter by price, such as Free, Freemium or Paid. Open a tool to read its description, highlights and details, and save the ones you like.

    Search the directory
  • It shows how many tools were added to that section in the last 7 days. The label disappears once you open the section.

  • The AI Prices page is checked every day against two independent public sources, and a price is listed only when both agree. Prices can change at any time, so always confirm with the provider before you build on a price.

    See the AI prices
  • They come from GitHub star counts, which refresh automatically every day. Stars show how popular a project is, not how good it is for your project.

    See the most starred tools
  • Yes! You can submit your tool, resource, or agency through our submission options. Our team reviews each submission according to our listing guidelines and policies. We'll contact you regarding the review, eligibility, and next steps before your listing is published.

    Contact us
  • They mark paid or partner placements. Those listings are not recommendations from Web Tools Finder, and they are labelled clearly so you can tell them apart from the rest of the directory.

  • Featured spots can be arranged on the Home page, in each section and on the Agencies and Deals pages. Get in touch through the contact page and tell us what you would like to promote. Featured and sponsored placements are always labelled.

    Get in touch
  • With your permission we use Google Analytics to see which pages are useful, and the site shows advertising. You can accept or decline in the cookie banner and change your choice later from Cookie Preferences in the footer. Your saved tools stay in your browser.

    Read the Privacy Policy
  • Use the Feedback button in the menu and choose Something is broken, or write to us from the Contact page. We also check tool links regularly and review the ones that stop working.

    Contact us

Still have a question? Contact us

© 2026 Web Tools Finder (WTF). All rights reserved.

Built by QDelta Technologies