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

@itskyedo/eslint-config

v0.2.0

Published

An opinionated configuration for ESLint.

Readme

@itskyedo/eslint-config

  • 🌈 Simple no-hassle configuration
  • 💭 Opinionated but customizable
  • 📦 Includes out-of-the-box support for useful plugins
    • TypeScript support
    • Prettier support
    • Stylistic rules
    • Validate proper imports
    • Lint JSDoc comments
    • Enforce best practices for promises
    • Sort imports, exports, objects, and types
    • and more to come

🗒️ Notes

This is a simple and modular way to setup projects with ESLint. Since the configuration is based on my own personal preferences, there may be rules that you may not want. However, plugins are optional and rules are easy to customize if necessary.

[!WARNING] The project is still in its early stages so there may be bugs and/or unwanted behavior until the v1.0.0 release.

🚀 Getting Started

Prerequisites

  • ESLint v9+

Installation

npm install -D @itskyedo/eslint-config

📚 API Reference

function createConfig

Initializes the ESLint config.

| Parameter | Type | Description | | :------------------- | :---------------- | :---------------------------------------------- | | options | ConfigOptions | The customizable options. | | ...customConfigs | Linter.Config[] | Additional configuration objects and overrides. |

Returns: Linter.Config[] An ESLint flat config array.

interface ConfigOptions

| Property | Type | Description | Link | | :------------- | :--------------------------------------- | :-------------------------------------------------- | :--------------------------------------------------------------------------------- | | library | boolean | Whether to use the recommended rules for libraries. | | | ignores? | boolean \| IgnoresConfigOption | Additional ignores configuration. | | | base? | Partial<Linter.RulesRecord> | Overrides for the default base rules. | eslint | | typescript | boolean \| Partial<Linter.RulesRecord> | Overrides for the default TypeScript rules | typescript-eslint | | jsdoc | boolean \| Partial<Linter.RulesRecord> | Overrides for the default JSDoc rules. | eslint-plugin-jsdoc | | import | boolean \| Partial<Linter.RulesRecord> | Overrides for the default import rules. | eslint-plugin-import-x | | promise | boolean \| Partial<Linter.RulesRecord> | Overrides for the default promise rules. | eslint-plugin-promise | | sort | boolean \| Partial<Linter.RulesRecord> | Overrides for the default sort rules. | eslint-plugin-sort | | stylistic | boolean \| Partial<Linter.RulesRecord> | Overrides for the default stylistic rules. | eslint-stylistic | | prettier | boolean \| Partial<Linter.RulesRecord> | Overrides for the default prettier rules. | eslint-plugin-prettier |

interface IgnoresConfigOption

The configuration settings for ignores.

| Parameter | Type | Description | | :------------- | :--------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------- | | globs | string[] | The customizable options. | | gitignore? | boolean \| { cwd: string } (default: true) | Whether to ignore all globs listed in the project's .gitignore. Optionally, pass in an object to specify additional options. |


💡 Examples

Simple project setup

Set to true to enable the default rules or false to disable the plugin. Optionally, an object can be passed to add or override the default rules for that plugin.

Note that the name of the plugin is required when adding or override rules. Plugins are loaded in the order listed in ConfigOptions.

// eslint.config.mjs

import createConfig from '@itskyedo/eslint-config';

export default createConfig({
  library: true,
  base: {
    'no-unused-vars': 'off',
  },
  typescript: true,
  jsdoc: true,
  import: {
    'import-x/consistent-type-specifier-style': 'off',
  },
  promise: true,
  sort: true,
  stylistic: false,
  prettier: true,
});

Setup with other configs

You can pass all other configs as the last arguments.

Note that prettier will always be loaded last within createConfig so that it can override conflicting rules.

// eslint.config.mjs

import createConfig from '@itskyedo/eslint-config';

export default createConfig(
  {
    library: true,
    typescript: true,
    jsdoc: true,
    import: true,
    promise: true,
    sort: true,
    stylistic: false,
    prettier: true,
  },

  // Other configs below
  {
    files: ['**/*.js'],
    rules: {
      semi: 'error',
      'no-unused-vars': 'error',
    },
  }
);

📃 License

MIT License. See LICENSE for details.