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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@eddlondon/eslint-config-react

v5.0.0

Published

This package provides EDD London's ESLint v9 flat config as an extensible shared config.

Readme

EDD Eslint Config

Our default export contains ESLint v9 flat config rules, including ECMAScript 6+ and React.

https://www.npmjs.com/package/@eddlondon/eslint-config-react

Prerequisites

npm install npm@latest -g
npm install --global yarn

eslint extension

Requirements:

  • ESLint 9+
  • @eslint/js 9+
  • typescript-eslint 8+
  • Prettier 3+
  • TypeScript 5+
  • Storybook 8+ (if using Storybook files)

Installation

npm i @eddlondon/eslint-config-react
yarn add @eddlondon/eslint-config-react

Usage

Basic Usage

  • Create a file called eslint.config.js in root directory of application
  • Add the following content:
import eddConfig from '@eddlondon/eslint-config-react';

export default [
  ...eddConfig,
  // Add your custom overrides here if needed
];

Usage with TypeScript ESLint

For projects using TypeScript ESLint's tseslint.config() utility:

import eddConfig from '@eddlondon/eslint-config-react';
import tseslint from 'typescript-eslint';

export default tseslint.config(
  ...eddConfig,
  // Add your custom TypeScript configs here
);

For Projects with Storybook

If your project uses Storybook, ensure you have the required peer dependency:

npm install --save-dev eslint@^9 @eslint/js@^9 typescript-eslint@^8 prettier@^3 typescript@^5 storybook@^8
# or
yarn add --dev eslint@^9 @eslint/js@^9 typescript-eslint@^8 prettier@^3 typescript@^5 storybook@^8

TypeScript Projects

For TypeScript projects, ensure you have the required peer dependencies:

npm install --save-dev eslint@^9 @eslint/js@^9 typescript-eslint@^8 prettier@^3 typescript@^5
# or
yarn add --dev eslint@^9 @eslint/js@^9 typescript-eslint@^8 prettier@^3 typescript@^5

Migration from v4 (ESLint v8)

If you're upgrading from v4, you'll need to:

  1. Update ESLint to v9+
  2. Replace .eslintrc.json with eslint.config.js
  3. Update your configuration to use the new flat config format (see usage above)

Features

This config includes:

  • TypeScript ESLint: Full TypeScript support with recommended rules
  • React: React and React Hooks rules
  • JSX Accessibility: a11y rules for accessible React components
  • Import/Export: Proper import ordering and cycle detection
  • Unicorn: Additional helpful ESLint rules
  • Prettier: Code formatting integration
  • Storybook: Support for Storybook files
  • MDX: Support for MDX files

Publish

run the following command

npm run push-minor

yarn push-minor

or update the version in the package.json and the run

npm run publish yarn publish