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

eslint-config-everywhere

v5.0.0

Published

ESLint config for everywhere

Readme

eslint-config-everywhere npm version MIT License

Sharable ESLint config for everywhere

Optimized for Modern Development: This package uses ESLint v9+ flat config with the latest plugin versions and includes comprehensive configurations for TypeScript (using modern typescript-eslint), React, Next.js, Promise best practices, Vitest, Playwright, and Storybook. Perfect for BFF applications and frontend projects alike.

Installation

pnpm i -D eslint eslint-config-everywhere

Usage

Flat Config (eslint.config.js)

ESLint v9+ uses the flat config format with modern plugin integrations. For most TypeScript projects, use the recommended configuration:

Recommended Configuration

import { recommended } from 'eslint-config-everywhere'

export default [...recommended]

This includes base rules, TypeScript rules, and testing configurations - perfect for TypeScript projects including BFF applications.

Other Configurations

Base Configuration

import { base } from 'eslint-config-everywhere'

export default [...base]

React Configuration

import { recommended, react } from 'eslint-config-everywhere'

export default [...recommended, ...react]

TypeScript Configuration

import { base, typescript } from 'eslint-config-everywhere'

export default [...base, ...typescript]

Next.js Configuration

import { recommended, next } from 'eslint-config-everywhere'

export default [...recommended, ...next]

The next configuration automatically includes React rules (react, react-hooks, jsx-a11y plugins). React rules from both recommended and next will be applied, with next rules taking precedence where there are conflicts.

Testing Configurations

import {
  base,
  vitest,
  testingLibraryReact,
  playwright,
} from 'eslint-config-everywhere'

export default [...base, ...vitest, ...testingLibraryReact, ...playwright]

Storybook Configuration

import { base, storybook } from 'eslint-config-everywhere'

export default [...base, ...storybook]

Available Configurations

  • base - Core ESLint rules with import, perfectionist, promise, and unicorn plugins
  • react - React and JSX accessibility rules with perfectionist JSX prop sorting
  • typescript - TypeScript-specific linting rules using modern typescript-eslint with perfectionist object sorting
  • next - Next.js recommended rules, core web vitals optimizations, and comprehensive React rules (includes react, react-hooks, jsx-a11y plugins)
  • node - Node.js specific rules and global variables
  • vitest - Vitest testing framework rules (replaces Jest)
  • playwright - Playwright end-to-end testing rules
  • storybook - Storybook-specific rules (v8.6.14 compatible)
  • testingLibraryReact - Testing Library React rules
  • recommended - Combines base, typescript, vitest, and playwright configurations (ideal for TypeScript projects including BFF applications)

Run ESLint

eslint /path/to/your_source

License

MIT