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

@the-rabbit-hole/eslint-config

v0.6.0

Published

A eslint config designed for @the-rabbit-hole projects, but can be used publicly.

Readme

🐇 ESLint Config – @the-rabbit-hole

npm version npm downloads ESLint TypeScript License

✨ Overview

This package provides a shared ESLint configuration used across all
@the-rabbit-hole projects.

It is designed to be:

  • 🛠 Reusable – a single config for all JS/TS projects
  • 📦 Pluggable – easy to extend if needed
  • 🌍 Publicly available – you can use it in your own projects too!

📦 Installation

# with npm
npm install --save-dev eslint @the-rabbit-hole/eslint-config

# with yarn
yarn add -D eslint @the-rabbit-hole/eslint-config

# with pnpm
pnpm add -D eslint @the-rabbit-hole/eslint-config

⚙️ Usage

In your eslint.config.js (or eslint.config.mjs):

import eslintConfig from "@the-rabbit-hole/eslint-config";
export default eslintConfig;

That’s it! 🚀

🛠 Customizing

Use the named createESLintConfig factory to disable bundled extends, add new rules, or override the package's defaults:

import { createESLintConfig } from "@the-rabbit-hole/eslint-config";

export default createESLintConfig({
  // Drop default-on extends you don't want
  disableExtends: ["eslintReact"],

  // Turn on opt-in extends that are off by default
  enable: ["eslintA11y", "eslintTypedoc"],

  // Add your own rules — or override bundled ones
  rules: {
    "no-console": "error",                // additive — applied as-is
    "react/react-in-jsx-scope": "warn",   // overrides the bundled default
  },
});

All options are independent — pass any combination, or none.

Override notifications

If a key in rules matches a rule the package sets by default, an info line is printed when ESLint loads the config so the override is visible:

[@the-rabbit-hole/eslint-config] Rule "react/react-in-jsx-scope" overrides the bundled default.

Adding rules the package does not set is silent — no message.

Available disableExtends keys (default-on extends)

eslintPerfectionist · eslintPrettier · eslintReact · eslintTypescript · eslintUnicorn

Opt-in extends (enable)

These are off by default and only applied when named in enable. They target a specific kind of project rather than every consumer, so a plain Node library never inherits rules it has no use for:

  • eslintA11y — JSX accessibility rules (eslint-plugin-jsx-a11y), for React component code.
  • eslintStorybook — Storybook story linting (eslint-plugin-storybook).
  • eslintTesting — Testing Library rules (eslint-plugin-testing-library), for test files.
  • eslintTypedocTypeDoc/TSDoc documentation quality (eslint-plugin-typedoc): doc-comment coverage on exported APIs (typedoc/require-exported-doc-comment) plus tag correctness (unknown/duplicate/empty tags, malformed inline links). Scoped to **/*.{ts,tsx,mts,cts}.
import { createESLintConfig } from "@the-rabbit-hole/eslint-config";

// A React component library that wants a11y, Storybook, and doc-coverage:
export default createESLintConfig({
  enable: ["eslintA11y", "eslintStorybook", "eslintTypedoc"],
});

Upgrading from 0.4.x: eslintA11y, eslintTesting, and eslintStorybook used to be on by default. They are now opt-in — add them to enable (and remove them from disableExtends) if your project relied on them.

🧩 What’s Included?

This ESLint config comes pre-bundled with a set of plugins and shareable configs tailored for modern TypeScript + React projects:

Default plugins (on by default)

Opt-in plugins (enable)

🎨 A note on Prettier

eslint-plugin-prettier runs Prettier as an ESLint rule, so the Prettier version decides the formatting. To keep prettier/prettier verdicts deterministic, this package ships Prettier as a pinned, exact dependency rather than a floating peer — the formatter engine only changes in an intentional, changelogged release. You do not need to install or pin Prettier yourself; remove any prettier peer expectation you previously satisfied for this config.

🤝 Contributing

Contributions are welcome! If you have suggestions, improvements, or run into issues, please open a PR or issue.

📜 License

This project is licensed under the MIT License. You’re free to use it in your own public or private projects.

Made with ❤️ by @the-rabbit-hole