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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@szum-tech/eslint-config

v2.1.12

Published

ESLint configuration for TypeScript projects

Downloads

400

Readme

@szum-tech/eslint-config

GitHub release (latest by date) GitHub pull requests GitHub issues GitHub Repo stars

🚀 publish CodeQL 📈

npm npm

Conventional Commits MIT License


A shared configuration is an NPM package that exports a configuration as an array. It's super convenient for anyone to use, because the configuration dynamically adapts to the needs of the project.

📚 Features

📖 Table of Contents

🎯 Getting Started

⚙️ Installation

@szum-tech/eslint-config is available as npm package.

# NPM
npm install --save-dev eslint @szum-tech/eslint-config

# YARN
yarn add -D eslint @szum-tech/eslint-config

# PNPM
pnpm add --save-dev eslint @szum-tech/eslint-config

# BUN
bun add --dev eslint @szum-tech/eslint-config

Configuration

Basic information needed to understand, how to set up eslint configuration, you are able to find in Configuration Files documentation.

A @szum-tech/eslint-config is an npm package that exports a configuration object or array.

@szum-tech/eslint-config could be set via either:

  • A eslint.config.(js|cjs|mjs) file that exports an array

The following examples show how to integrate configuration in project:

  • Via eslint.config.mjs file:

Once you use a predefined configuration, you can export the entire configuration.

export { default } from "@szum-tech/eslint-config";

@szum-tech/eslint-config is flexible enough to allow for configuration extensions. You’ll need to use the spread operator to insert those items into the configuration array.

// eslint.config.js
import szumTechEslintConfig from "@szum-tech/eslint-config";

export default [
  ...szumTechEslintConfig,

  // your modifications
  {
    rules: {
      "no-unused-vars": "warn"
    }
  }
];
  • Via eslint.config.cjs file:
module.exports = require("@szum-tech/semantic-release-config/with-npm");

OR, extends

const szumTechEslintConfig = require("@szum-tech/semantic-release-config/with-npm");

module.exports = [
  ...szumTechEslintConfig,

  // your modifications
  {
    rules: {
      "no-unused-vars": "warn"
    }
  }
];

💻 Scripts

Suggested scripts you can add to package.json file:

{
  "scripts": {
    "lint": "eslint .",
    "lint:ci": "eslint . -o eslint-results.sarif -f @microsoft/eslint-formatter-sarif",
    "lint:fix": "eslint . --fix",
    "lint:inspect": "npx @eslint/config-inspector@latest"
  }
}

Scripts description:

  • lint: Lints the code using ESLint
  • lint:ci: Lints the code using ESLint for CI - uses a @microsoft/eslint-formatter-sarif output format for report generation
  • lint:fix: Automatically fixes linting errors
  • lint:inspect: Launches a visual representation of the ESLint configuration file (check http://localhost:7777 in your browser). Allows you to navigate through the rules, plugins, and language configurations that are enabled or disabled

🚀 Minimal GitHub ESlint check workflow

Here are the minimal steps required to run an ESlint check. Creating or adding any content to a PR will trigger this event. Not only will this action validate the code and return its results, but it will also add highlighted parts of the code that have an error to the comments under the PR thanks to the Upload Eslint results to GitHub step, which uses github/codeql-action/upload-sarif.

name: PR Checks ✅

on:
  pull_request:

jobs:
  lint:
    name: ESlint ⬣
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        node-version: [22.x]
        os: [ubuntu-latest]
    steps:
      - name: Checkout code 📚
        uses: actions/checkout@v4
      - name: Set up Node 🟢
        uses: actions/setup-node@v4
        with:
          node-version: ${{ matrix.node-version }}
          cache: "npm"
      - name: Install dependencies ⚙️
        run: npm ci
      - name: ESlint Check ⬣
        run: npm run lint:ci
        continue-on-error: true
      - name: Upload ESlint results to GitHub
        uses: github/codeql-action/upload-sarif@v3
        with:
          sarif_file: eslint-results.sarif
          wait-for-processing: true

🛠️ Developer Info

Dependencies

NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version NPM (prod) Dependency Version

📒 Changelog

The changelog is regularly updated to reflect what's changed in each new release.

📜 License

This project is licensed under the terms of the MIT license.