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

@acme-skunkworks/eslint-config

v1.0.4

Published

Shared ESLint flat-config preset with TypeScript, React, Astro, Sanity, and Storybook support

Downloads

736

Readme

@acme-skunkworks/eslint-config

Shared ESLint v9 configuration with TypeScript and React support, composed from named-export presets.

📦 Installation

pnpm add -D @acme-skunkworks/eslint-config eslint prettier

Every ESLint plugin used by the config ships as a regular dependency — you don't install plugins separately. eslint and prettier are peer dependencies.

🚀 Usage

The package exports presets as named exports. Compose them in your eslint.config.js:

import { base, typescript, frameworkRouting } from "@acme-skunkworks/eslint-config";

export default [
  ...base,
  typescript,
  ...frameworkRouting,
  // your overrides last so they win
  {
    rules: {
      "@typescript-eslint/no-explicit-any": "warn",
    },
  },
];

Pull in the presets relevant to your project:

| Export | What it covers | |---|---| | base | Plugin-alias hack + global ignores + the canonical baseline + packageJson lint config + commonjs file overrides + the big preferences block (top-level type imports, func-style: declaration, prettier integration, import resolver, no-console warn, etc.). The "you almost always want this" stack. | | typescript | Overrides for **/*.{ts,tsx} (disables react/no-unused-prop-types and react/prop-types). | | frameworkRouting | Disables canonical/filename-match-exported for routing dirs (routes/**, app/**, pages/**, src/routes/**, src/pages/**); re-allows arrow functions on root.tsx / *.route.tsx. Order matters — must spread after base. | | astro | eslint-plugin-astro/flat/recommended + Astro-specific overrides. Pull in for Astro projects. | | sanity | Schema property ordering for *.schema.ts and structure-file exceptions. Pull in for projects using Sanity Studio. | | testing | Relaxes strict TypeScript rules and devDependencies imports for **/*.{test,spec}.*, __tests__/**, and setup files. | | storybook | Overrides for **/*.stories.{ts,tsx}. | | complexity | Raises cyclomatic complexity threshold to 40 for **/scripts/** (orchestration scripts run linearly). Opt-in. | | e2e | Disables react-hooks/rules-of-hooks for **/e2e/** (Playwright test.extend callbacks are false positives). Opt-in. | | tableComponents | Disables react/no-unstable-nested-components for **/*Table.tsx (TanStack Table / Refine column-cell renderers). Opt-in. |

Note: Requires ESLint v9+ with flat config. Node 22+.

🔄 Migrating from @robeasthope/eslint-config

This package was previously published as @robeasthope/eslint-config from the RobEasthope/protomolecule monorepo (versions up to and including v6.2.1). It now ships from this standalone repo under the @acme-skunkworks scope, with a named-export composition pattern.

Step 1: rename the dep

pnpm remove @robeasthope/eslint-config
pnpm add -D @acme-skunkworks/eslint-config

Step 2: switch to named exports

The default export still works during the migration window, but is deprecated and will be removed in a future major:

// Old (still works in v1, deprecated)
import eslintConfig from "@acme-skunkworks/eslint-config";
export default [...eslintConfig];

// New (preferred — pull in only what you need)
import { base, typescript, frameworkRouting } from "@acme-skunkworks/eslint-config";
export default [...base, typescript, ...frameworkRouting];

If your project was a Sanity / Storybook / Astro consumer, opt-in to those presets explicitly. The default export bundled all of them; the new shape makes the dependencies explicit.

What's new in v1

  • Tempest fold-in. Plugin versions bumped to current; complexity, e2e, and tableComponents are new opt-in presets ported from Tempest. See MIGRATION_FROM_PROTOMOLECULE.md for the per-preset diff.
  • Named-export composition. Each preset is independently importable; consumers compose what they need.
  • prettier is now a peerDependency. Was already a transitive dep via eslint-plugin-prettier; this just makes the contract explicit.

For older breaking-change history (v4 → v5 plugin bundling, v5 → v6 top-level type imports) see the original protomolecule changelog.

✨ Features

  • TypeScript — full TypeScript linting via typescript-eslint v8.
  • React — React 19 compatible rules from canonical-auto.
  • React Router 7 compatible — top-level type imports, func-style: declaration with framework-aware exceptions for typed exports on root.tsx / *.route.tsx.
  • Astro — opt-in preset.
  • Sanity — opt-in preset for schema property ordering and structure-file exceptions.
  • Modern JavaScript — ES2022+, Prettier integration, accessibility checks.

🛠️ Customisation

Override any rule from your local config — last config wins in flat config:

import { base, typescript } from "@acme-skunkworks/eslint-config";

export default [
  ...base,
  typescript,
  {
    rules: {
      "@typescript-eslint/no-explicit-any": "warn",
      "react/prop-types": "off",
    },
  },
];

Add additional plugins by configuring them directly:

import { base, typescript } from "@acme-skunkworks/eslint-config";
import pluginReact from "eslint-plugin-react";

export default [
  ...base,
  typescript,
  {
    plugins: { react: pluginReact },
    rules: { "react/jsx-uses-react": "error" },
  },
];

🔧 Development

pnpm install   # install deps
pnpm run build # tsc → dist/
pnpm lint      # lint this package's own source
pnpm lint:fix  # auto-fix

📄 License

MIT License — see LICENSE.

This software is provided "as is", without warranty of any kind. Use at your own risk.