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

oxlint-config-harris

v0.2.0

Published

Harris' Oxlint config

Readme

oxlint-config-harris

Harris' shared Oxlint rule maps and file globs, ported from eslint-config-harris.

Requires oxlint, oxlint-tsgolint, and typescript (see peerDependencies). MIT licensed.

Usage

This package ships rule maps and file globs — not ready-made defineConfig slices. Wire plugins + overrides in the consumer.

index.js re-exports; index.d.ts types rule maps as DummyRuleMap. There is no mono default config.

Root plugins overwrites oxlint defaults (unicorn / oxc) — list every plugin you want on each override (or at root). categories / options (including typeAware) are never set here; set those in the consumer if needed.

import { defineConfig } from 'oxlint';
import {
  ecmaRules,
  jsTsFilesAll,
  jsxFiles,
  reactRules,
  testFiles,
  tsFiles,
  typescriptRules,
  vitestRules,
} from 'oxlint-config-harris';

export default defineConfig({
  options: { typeAware: true }, // set here or use --type-aware
  overrides: [
    {
      files: jsTsFilesAll,
      plugins: ['eslint', 'import', 'oxc', 'promise'],
      rules: ecmaRules,
    },
    {
      files: tsFiles,
      plugins: ['typescript'],
      rules: typescriptRules,
    },
    {
      files: jsxFiles,
      plugins: ['react', 'jsx-a11y'],
      rules: reactRules,
    },
    {
      files: testFiles,
      plugins: ['vitest'],
      rules: vitestRules,
    },
  ],
});

Rule maps

| Export | Covers | | ----------------- | ------------------------------- | | ecmaRules | eslint + import + oxc + promise | | nodeRules | node | | typescriptRules | typescript | | reactRules | react + jsx-a11y | | vitestRules | vitest |

File globs

| Export | Patterns | | --------------- | ---------------------------------------------------------- | | jsTsFilesAll | **/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx} | | jsTsFilesNode | **/*.{js,mjs,cjs,ts,mts,cts} | | tsFiles | **/*.{ts,mts,cts,tsx} | | jsxFiles | **/*.{jsx,tsx} | | testFiles | **/*.test.{js,mjs,cjs,ts,mts,cts}, **/*.spec.{jsx,tsx} |

Suggested pairing: ecmaRules ↔ jsTsFilesAll, nodeRules ↔ jsTsFilesNode, typescriptRules ↔ tsFiles, reactRules ↔ jsxFiles, vitestRules ↔ testFiles.

Run with type-aware linting (oxlint-tsgolint required):

oxlint --type-aware

Layout

| Path | Role | | --------------------- | ----------------------------------------------------------- | | index.js | Named re-exports of rule maps + globs | | index.d.ts | Public types (DummyRuleMap + string[] globs) | | extensionHelpers.js | File glob constants | | rules/ | Rule maps (ecma, node, react, typescript, vitest) | | GAPS.md | ESLint rules with no oxlint equivalent yet (not published) | | oxlint.config.ts | Local lint entry (ecma + typescript overrides) | | tsconfig.json | Types oxlint.config.ts only |

pnpm lint
pnpm format
pnpm typecheck

Docs

  • Oxlint / Oxc docs index for LLMs: https://oxc.rs/llms.txt
  • Human docs: https://oxc.rs/docs/guide/usage/linter.html