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

v4.1.0

Published

A simple ESLint config with Prettier and a couple TSConfig setups

Readme

eslint-config-dolmios

A comprehensive ESLint (10) setup using @typescript-eslint, integrated with Prettier and tailored TSConfig setups for modern JavaScript and TypeScript projects. This config is designed for my projects, but feel free to use it as a starting point for your own projects.

Install

pnpm  add  eslint-config-dolmios

Requirements

  • ESLint ^10.0.0
  • React >=19 and react-dom >=19 (for the React/JSX rules)
  • TypeScript >=5.9 (type-aware rules expect a tsconfig.json in your project root)

Usage

This ESLint configuration is designed for use with ESLint v10, which uses a flat config format. Follow the steps below to integrate it into your project.

Setting Up ESLint

  1. Create an ESLint Configuration File: In the root of your project, create a file named eslint.config.js.

  2. Import and Extend the Configuration: Add the following content to eslint.config.js to use the eslint-config-dolmios configuration:

import dolmios from "eslint-config-dolmios";

export default [
  ...dolmios,
  // Add any project-specific overrides here
];

Features

  • TypeScript Support: Comprehensive TypeScript linting with strict type checking
  • React Best Practices: Rules for React and React Hooks
  • Accessibility: A11y rules to ensure your app is accessible
  • Next.js Optimization: Includes Next.js Core Web Vitals rules for performance optimization
  • Code Organization: Perfectionist plugin for consistent code organization
  • Modern JavaScript: Enforces modern JavaScript practices

Next.js Compatibility

Next.js rules (@next/eslint-plugin-next) are included by default and work for App Router, Pages Router, and plain React projects alike. They're tuned to be non-disruptive — most run as warnings, and no-html-link-for-pages is disabled since it isn't relevant to App Router projects. Re-enable or adjust any of them via project-specific overrides.


Usage with Prettier

Prettier is configured to work seamlessly with this ESLint setup. To include Prettier, add the configuration to your package.json:

"prettier": "eslint-config-dolmios/configs/prettier"

Extending Prettier

If you need to extend the Prettier configuration, you can do so by creating a .prettierrc.js file and exporting your modifications:

For more details, refer to the Prettier documentation.

module.exports = {
  ...require("eslint-config-dolmios/configs/prettier"),
  parser: "babel",
};

Usage with TSConfig

This config also exports two TSConfig setups, base and lib respectively. The base config is generally suitable. To include either, extend your tsconfig.json.


"extends": "eslint-config-dolmios/configs/tsconfig"

Configurations

You can view the fully-resolved ESLint configuration in the reference snapshots: reference-js.txt (JavaScript) and reference-ts.txt (TypeScript/React).

Acknowledgments

This configuration leverages several third-party libraries to enhance linting and formatting capabilities:

License

This project is licensed under the MIT License.