npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@eslint-react/eslint-plugin

v2.3.13

Published

A unified plugin that combines all individual plugins from the eslint-react monorepo into one.

Downloads

1,819,375

Readme

Version Downloads License Build with

4-7x faster composable ESLint rules for React and friends.

Table of Contents

Features

  • Modern: First-class support for TypeScript, React 19, and more.
  • Flexible: Fully customizable rule severity levels, allowing you to enforce or relax rules as needed.
  • Performant: Built with performance in mind, optimized for large codebases, 4-7x faster than other ESLint plugins.
  • Context-aware Linting: Rules that understand the context of your code and project configuration to provide more accurate linting.

Public Packages

Unified ESLint Plugin

Modular ESLint Plugins

[!NOTE]
Don't know which one to use? See our FAQ for guidance.

Installation

[!NOTE]
ESLint React requires the following minimum versions:

  • Node.js: 20.19.0
  • ESLint: 9.36.0
  • TypeScript: 5.0.0

Install

npm install --save-dev typescript-eslint @eslint-react/eslint-plugin

Setup

// eslint.config.js

import eslintReact from "@eslint-react/eslint-plugin";
import eslintJs from "@eslint/js";
import { defineConfig } from "eslint/config";
import tseslint from "typescript-eslint";

export default defineConfig(
  {
    files: ["**/*.ts", "**/*.tsx"],

    // Extend recommended rule sets from:
    // 1. ESLint JS's recommended rules
    // 2. TypeScript ESLint recommended rules
    // 3. ESLint React's recommended-typescript rules
    extends: [
      eslintJs.configs.recommended,
      tseslint.configs.recommended,
      eslintReact.configs["recommended-typescript"],
    ],

    // Configure language/parsing options
    languageOptions: {
      // Use TypeScript ESLint parser for TypeScript files
      parser: tseslint.parser,
      parserOptions: {
        // Enable project service for better TypeScript integration
        projectService: true,
        tsconfigRootDir: import.meta.dirname,
      },
    },

    // Custom rule overrides (modify rule levels or disable rules)
    rules: {
      "@eslint-react/no-missing-key": "warn",
    },
  },
);

Full Installation Guide ↗

Presets

Bare Bones

  • x
    Enable rules for "react".
  • dom
    Enable rules for "react-dom".
  • web-api
    Enable rules for interacting with Web APIs.

General Purpose

  • recommended
    Enforce rules that are recommended by ESLint React for general purpose React + React DOM projects.
    This preset includes the x, dom, and web-api presets.

  • strict
    Same as the recommended preset but enables additional strict rules.

TypeScript Specialized

  • recommended-typescript
    Same as the recommended preset but disables rules that can be enforced by TypeScript.

  • recommended-type-checked
    Same as the recommended-typescript preset but enables additional rules that require type information.

  • strict-typescript
    Same as the strict preset but disables rules that can be enforced by TypeScript.

  • strict-type-checked
    Same as the strict-typescript preset but enables additional rules that require type information.

Other

  • disable-dom
    Disable rules in the dom preset.
  • disable-web-api
    Disable rules in the web-api preset.
  • disable-type-checked
    Disable rules that require type information.
  • disable-conflict-eslint-plugin-react
    Disable rules in eslint-plugin-react that conflict with rules in our plugins.
  • off
    Disable all rules in this plugin except for debug rules.

Full Presets List ↗

Rules

Rules Overview ↗

Benchmark

Benchmark Results ↗

FAQ

Frequently Asked Questions ↗

Roadmap

Disclaimer

This project is not affiliated with Meta Corporation or facebook/react project or team, nor is it endorsed or sponsored by them.

This project is and will continue to maintain that 90% of the code is written by humans.

Contributing

Contributions are welcome!

Please follow our contributing guidelines.

License

This project is licensed under the MIT License - see the LICENSE file for details.