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

@ultimatelemon-eu/eslint-config

v1.1.1

Published

Shared ESLint configuration for UltimateLemon projects: Next.js by default, or a Next-free base entry for JS/TS projects.

Readme

@ultimatelemon-eu/eslint-config

Next.js core-web-vitals, type-aware TypeScript rules, and eslint-config-prettier last so formatting never fights the linter.

npm install -D @ultimatelemon-eu/eslint-config eslint eslint-config-next \
  eslint-config-prettier typescript-eslint
// eslint.config.mjs
import { config } from '@ultimatelemon-eu/eslint-config';

export default config({ rootDir: import.meta.dirname });

Non-Next projects

Node services, Cloudflare Workers and libraries import from the /base entry. Same rules and Prettier compatibility, without the Next layer — so eslint-config-next (an optional peer) need not be installed.

npm install -D @ultimatelemon-eu/eslint-config eslint \
  eslint-config-prettier typescript-eslint typescript
// eslint.config.mjs — a type-aware TS project
import { config } from '@ultimatelemon-eu/eslint-config/base';

export default config({ rootDir: import.meta.dirname });
// eslint.config.mjs — a plain-JS project (no TypeScript project graph)
import { config } from '@ultimatelemon-eu/eslint-config/base';
import globals from 'globals';

export default config({
  typeChecked: false,
  extra: [{ languageOptions: { globals: { ...globals.node } } }]
});

Both entries take the same options.

Options

| Option | Default | Does | | ------------- | ------- | --------------------------------------------------------- | | rootDir | — | Required when type-aware; pass import.meta.dirname | | ignores | [] | Added to the defaults, not replacing them | | typeChecked | true | Turn off for a project without a TypeScript project graph | | extra | [] | Config objects appended before eslint-config-prettier |

TypeScript versions

The typescript peer stops below 6.1, because that is where typescript-eslint stops. A wider range lets npm pick a TypeScript the parser cannot use, and the install fails with a peer conflict that points at this package rather than at the real constraint.

What it turns on

no-explicit-any, no-floating-promises, await-thenable and no-misused-promises are errors: a forgotten await on a database write fails silently, and any tends to appear exactly where types matter most.

explicit-module-boundary-types is a warning on exports only, and no-console allows warn, error and info.

no-misused-promises does not check JSX attributes. An async onClick is how React code is written, and flagging it in every handler drowns the cases the rule is actually for: a promise in a condition, or dropped in a void context outside JSX.

There is no explicit-module-boundary-types. It produced 47 findings in one repository and 22 in another, none of which anyone was going to act on, and a warning that never becomes an error is noise. TypeScript infers return types, and the unsafe-value rules already catch the cases where that inference is hiding an any.

Tests, seeds, migrators and scripts are exempt from the console and return-type rules.