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-infernal

v6.0.0

Published

Personal ESLint config for TypeScript projects

Readme

eslint-config-infernal

A personal ESLint config for my projects.

Quick Start

Install the package, along with its peers:

$ npm install --save-dev eslint eslint-config-infernal

Create the ESLint config file in your project root, specifying either your project's tsconfig.json, or the tsconfig.json files of your packages:

import infernal from "eslint-config-infernal";

export default [
	...infernal,
	{
		languageOptions: {
			parserOptions: {
				projectService: true,
				tsconfigRootDir: import.meta.dirname,
			},
		},
	},
];

Variants

This configuration offers a number of variants for different situations:

  • infernal - The default variant, for use in a serverside TypeScript project.
  • infernal/browser - For use in the browser.
  • infernal/react - For use in a plain React project.
  • infernal/next - For use with the Next.js framework.
  • infernal/ecmascript - For use with plain JavaScript without types.

Rules

I have written the configs in a way such that all immediately fixable rules are enabled as warnings, and others are generally enabled as errors. There is no particular reason for the set of rules I have chosen, other than that I like them.

Here's a brief overview of the rules:

ECMAScript

  • eslint:recommended - The recommended ESLint ruleset.

TypeScript

  • infernal/ecmascript - The above ECMAScript rules.
  • @typescript-eslint/recommended - The recommended TypeScript ESLint ruleset.
  • @typescript-eslint/recommended-type-checked - The recommended TypeScript ESLint ruleset, with rules that require type information enabled.
  • @typescript-eslint/strict - The strict TypeScript ESLint ruleset.
  • @typescript-eslint/strict-type-checked - The strict TypeScript ESLint ruleset, with rules that require type information enabled.

Next.js

  • infernal/browser - The TypeScript rules, with browser-specific rules enabled.
  • eslint-config-next - The recommended Next.js ESLint ruleset.

Formatting

This config is intended to be used in conjunction with Prettier. You can find my Prettier config here.

I have disabled the majority of formatting rules, since it's preferable to use a formatter over ESLint for this purpose. I have enabled a few rules that I find useful, but these are not intended to be exhaustive. Check out this article by the TypeScript ESLint team for more information.

License

This project is licensed under the MIT License - see the LICENSE-MIT file for details.