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

@widergy/eslint-config

v1.0.5

Published

Widergy ESLint configuration

Readme

@widergy/eslint-config

Widergy's shared ESLint configuration, supporting JavaScript, TypeScript, React, and React Native.

Prerequisites

[!IMPORTANT] This configuration package only supports ESLint v9 Flat Config. Please ensure you have upgraded to ESLint v9 before implementing this linter.

Installation

  1. Install the package:

    npm install -D @widergy/eslint-config eslint

    [!NOTE] Peer dependencies (like prettier, typescript, plugins, etc.) should be added on a per-necessity basis. The linter will fail if a required dependency for your specific configuration is missing. Read the error messages and install the missing packages as needed. This prevents installing unnecessary packages.

  2. Verify Prettier Configuration: Ensure your project's .prettierrc file matches the rules configured in this package to avoid conflicts between the linter and the formatter.

    • Reference the Prettier rules in the "Rules Documentation" section below.

Post Installation (Legacy Error Handling)

To handle retrocompatibility with previous errors and avoid blocking the migration, follow these steps:

  1. Add lint-suppress script: Add the following script to your package.json:

    "scripts": {
      "lint-suppress": "eslint src --cache --suppress-all"
    }
    • This command suppresses all current errors, allowing you to migrate without fixing everything immediately.
    • Run this once after successful installation to generate the eslint-suppressions.json file.
    • Do not run this daily. Only use it when you change rules and want to ignore new legacy errors.
  2. Update lint script: Modify your lint script to use the cache and prune unused suppressions:

    "scripts": {
      "lint": "eslint src --cache --prune-suppressions"
    }
    • --cache: Speeds up future linting processes. Add .eslintcache to your .gitignore.
    • --prune-suppressions: Automatically removes suppressions for rules that are no longer violated.
  3. Git Hooks:

    • It is recommended to run the linting process in the prepush hook of your repository.
    • If you are currently using precommit, consider moving it to prepush to avoid slowing down commits.

Usage

Import the specific configuration based on your project type in your eslint.config.js file.

Available Configurations

  • @widergy/eslint-config/javascript: JS/TS only repositories (helpers, internal libraries, etc.).
  • @widergy/eslint-config/react: React Web projects.
  • @widergy/eslint-config/react-native: React Native Mobile projects.

Example (React Project)

import reactConfig from "@widergy/eslint-config/react";

export default [
  ...reactConfig,
  {
    // Custom overrides or specific project settings can be added here
  },
];

Rules Documentation

For detailed information on the rules enabled in this configuration, please refer to the official documentation for each plugin/rule set:

Contributing

We welcome contributions to improve our shared configuration! To propose a change (add, remove, or modify a rule):

  1. Open a GitHub Discussion: Go to the "Discussions" tab in this repository.
  2. Create a Poll: Start a new discussion with a poll.
  3. Required Information:
    • Title: The name of the rule you want to change.
    • Summary: A brief explanation of the proposed change.
    • Documentation: A link to the official documentation for the rule (use the links in the "Rules Documentation" section).
    • Pros/Cons: If applicable, list the arguments for and against the change for each option in the poll.