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

@schplitt/oxlint-config

v1.0.0

Published

My opinionated oxlint config with TypeScript, Node, imports, jsdoc, unicorn and oxc rules

Readme

@schplitt/oxlint-config

My opinionated oxlint config. TypeScript, Node, imports, JSDoc, Unicorn, Oxc, and Vue rules — batteries included.

Formatting: Stylistic rules are intentionally excluded. This package installs and configures oxfmt alongside oxlint — the CLI will write a .oxfmtrc.json for you.

Quick setup

Run the CLI to install dependencies, generate oxlint.config.ts and .oxfmtrc.json, add scripts to package.json, and optionally configure VS Code:

pnpm dlx @schplitt/oxlint-config

Manual setup

Install dependencies:

pnpm add -D oxlint oxfmt @schplitt/oxlint-config

Create oxlint.config.ts in your project root:

import schplitt from '@schplitt/oxlint-config'
export default schplitt()

Add scripts to package.json:

{
  "scripts": {
    "lint": "oxlint && oxfmt --check",
    "lint:fix": "oxlint --fix && oxfmt --write"
  }
}

Options

export default schplitt({
  // Enable type-aware rules (default: true, requires oxlint-tsgolint)
  typeAware: true,

  // Enable vitest rules — auto-detected from vitest.config.* (default: auto)
  vitest: true,

  // Enable Angular TS rules via @angular-eslint — auto-detected from angular.json (default: auto)
  angular: true,

  // Enable Vue rules (built-in vue plugin) — auto-detected from package.json deps (default: auto)
  vue: true,

  // Enable eslint-comments rules (default: true)
  comments: true,

  // Additional ignore patterns on top of the built-ins
  ignores: ['generated/**', 'vendor/**'],

  // Stubs — no-op until oxlint supports custom file parsers
  yaml: false,
  jsonc: false,
  markdown: false,
  pnpm: false,
})

Advanced — composing rule factories

All rule sets are exported as standalone functions for consumers who need fine-grained control:

import { defineConfig } from 'oxlint'
import {
  javascriptRules,
  typescriptRules,
  typeAwareRules,
  nodeRules,
  importRules,
  jsdocRules,
  unicornRules,
  oxcRules,
  vitestRules,
  isInEditorEnv,
} from '@schplitt/oxlint-config'

const isInEditor = isInEditorEnv()

export default defineConfig({
  plugins: ['eslint', 'typescript', 'unicorn', 'oxc', 'import', 'node', 'jsdoc', 'vitest'],
  options: { typeAware: true },
  rules: {
    ...javascriptRules(isInEditor),
    ...typescriptRules(),
    ...typeAwareRules(isInEditor),
    ...nodeRules(),
    ...importRules(),
    ...jsdocRules(),
    ...unicornRules(),
    ...oxcRules(),
    ...vitestRules(),
    // your overrides
    'unicorn/prefer-node-protocol': 'off',
  },
})

Not supported

The following features are not yet supported because oxlint does not have a custom file parser/language API:

| Feature | Reason | | ---------------------------------------------- | -------------------------------------- | | YAML linting | Requires yaml-eslint-parser | | JSON / JSONC linting | Requires jsonc-eslint-parser | | Markdown linting | Requires a custom language plugin | | pnpm-workspace.yaml / package.json linting | Requires both a YAML and a JSON parser | | Angular template linting | Requires parserAngularTemplate | | Vue template linting | Requires a custom Vue template parser |

Vue script support: The vue option enables oxlint's built-in vue plugin, which lints <script> blocks in .vue SFCs natively. Only template linting is unsupported.

These options exist as stubs (yaml, jsonc, markdown, pnpm) and will be wired up once oxlint gains parser support.

Inspiration

License

MIT