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

@projectplaceholders/eslint-config

v0.1.0

Published

Lint rules that hold a codebase's shape while an agent edits it.

Readme

@projectplaceholders/eslint-config

Lint rules that hold a codebase's shape while an agent edits it.

Presets

| Import | For | |---|---| | @projectplaceholders/eslint-config/base | Any TypeScript package. Type-aware. | | @projectplaceholders/eslint-config/node | CLIs, services, tooling. | | @projectplaceholders/eslint-config/react-library | React component libraries. | | @projectplaceholders/eslint-config/next | Next.js apps. Includes the architecture rules. | | @projectplaceholders/eslint-config/architecture | The architecture rules on their own. |

// eslint.config.js
import { config } from "@projectplaceholders/eslint-config/next"
export default config

Everything is an error, nothing is a warning

An agent scrolls past a warning. A non-zero exit code is a wall it has to deal with — it reads the message and fixes itself. That difference is the entire mechanism, so this config ships no warnings at all.

Type-aware by default

Without type information, ESLint cannot see a floating promise or an any flowing through a call chain — which is most of what an agent gets wrong. base turns on projectService, so every preset lints against real types.

The architecture rules

src/shared/**                        may depend on nothing but itself
src/features/<f>/domain/**           pure: src/shared and its own domain, no I/O
src/features/<f>/application/**      + its own application, + other features' index.ts
src/features/<f>/infrastructure/**   + its own infrastructure
src/features/<f>/ui/**               like application, plus its own ui
src/features/<f>/index.ts            the feature's only public entry point
src/app/**                           src/shared and feature entry points

Two consequences are the point of the whole thing:

  • application may not import infrastructure. A use case cannot reach for a database or an HTTP client itself, so it stays testable without one.
  • A feature is reachable only through its index.ts. features/billing/infrastructure/stripe cannot be imported from anywhere else — that is the deep-import ban.

Inside src/features/*/domain/**, any and non-null assertions are also errors. Domain is the layer every other layer trusts; an any there launders an unchecked value into code that believes it was checked.

Every violation message names the layers involved and states what to do instead, because the reader is usually an agent deciding its next edit:

'application' may not import 'infrastructure'. Allowed: domain -> src/shared and its own
feature's domain only ... If you need something from another feature, export it from that
feature's index.ts; if the logic belongs to neither feature, move it to src/shared.

Tests

pnpm test

test/fixtures is a small project holding nine files that follow the architecture and seven that each break exactly one rule. The suite asserts silence on the first group and the right rule id on the second — a config that enforces nothing passes neither half.