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-preset-hodor

v0.1.1

Published

Hodor oxlint plugin keeps the AI slop out of your codebase.

Readme

oxlint-preset-hodor

Oxlint plugin for keeping React code clean and consistent. Hodor holds the door against code slop.

Plugin

Load it in oxlint:

import hodor from "oxlint-preset-hodor";

export default {
  jsPlugins: [hodor.jsPlugin],
  extends: [hodor.config],
  rules: {
    ...hodor.rules,
  },
};

extends applies Hodor's built-in plugin list and rules. Oxlint does not currently merge jsPlugins through extends, so jsPlugins is exported separately to avoid hardcoding the package specifier in consumer configs. hodor.jsPlugin is the resolved specifier for the package's internal JS plugin. hodor.rules contains the custom hodor/* rule key/value pairs for configs that want to spread, inspect, or override those custom rules explicitly.

Implemented Rules

  • hodor/no-access-state-in-setstate
  • hodor/no-class-component
  • hodor/no-context-provider
  • hodor/no-create-ref
  • hodor/no-duplicate-key
  • hodor/no-implicit-children
  • hodor/no-implicit-key
  • hodor/no-implicit-ref
  • hodor/no-leaked-conditional-rendering
  • hodor/no-missing-context-display-name
  • hodor/no-misused-capture-owner-stack
  • hodor/no-nested-lazy-component-declarations
  • hodor/no-unnecessary-use-prefix
  • hodor/no-unused-class-component-members
  • hodor/no-unused-props
  • hodor/no-unused-state
  • hodor/no-use-context
  • hodor/no-key-after-spread
  • hodor/no-leaked-dollar
  • hodor/no-leaked-semicolon
  • hodor/no-namespace
  • hodor/context-name
  • hodor/function-definition
  • hodor/id-name
  • hodor/ref-name
  • hodor/no-find-dom-node
  • hodor/no-flush-sync
  • hodor/no-hydrate
  • hodor/no-render
  • hodor/no-use-form-state
  • hodor/no-leaked-event-listener
  • hodor/no-leaked-fetch
  • hodor/no-leaked-intersection-observer
  • hodor/no-leaked-interval
  • hodor/no-leaked-resize-observer
  • hodor/no-leaked-timeout
  • hodor/no-react-fc
  • hodor/no-forward-ref
  • hodor/no-default-react-memoization
  • hodor/no-function-deps-in-effect
  • hodor/no-positional-func-args

Verification

npm run check
npm run typecheck
npm test

Rule tests live next to each rule under lint/rules/<rule-name>/. Each rule has its own oxlint config, valid/invalid fixture files, and a Vitest file that runs the real oxlint CLI through lint/test-utils/run-oxlint.ts.