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

@blogic-cz/oxc-config

v1.5.7

Published

Shared oxlint and oxfmt configs for blogic projects — layered TypeScript, React, and formatter presets

Downloads

6,274

Readme

@blogic-cz/oxc-config

Shared oxlint and oxfmt configs for blogic projects. Layered TypeScript, React, and formatter presets.

Configs

Linter (oxlint)

| Config | Use case | Plugins | |--------|----------|---------| | .oxlintrc.ts.json | TypeScript projects (CLI, services, libraries) | eslint, import, node, oxc, promise, typescript, unicorn, vitest | | .oxlintrc.ts-react.json | React + TypeScript projects | extends ts.json + jsx-a11y, react, react-perf |

Formatter (oxfmt)

| Config | Use case | What's shared | |--------|----------|---------------| | .oxfmtrc.base.jsonc | All projects | semi, quotes, width, tabs, import sort groups, ignore patterns |

Note: sortImports.internalPattern and sortTailwindcss are project-specific — set them in your local .oxfmtrc.jsonc.

Usage

Install:

bun add -d @blogic-cz/oxc-config

Linter

In your project's .oxlintrc.json:

{
  "extends": ["@blogic-cz/oxc-config/oxlint/ts-react"],
  "rules": {
    // project-specific rules only
  },
  "overrides": [
    // project-specific overrides only
  ]
}

For non-React projects:

{
  "extends": ["@blogic-cz/oxc-config/oxlint/ts"]
}

Formatter

oxfmt doesn't support extends yet, so copy the base and add project-specific settings:

cp node_modules/@blogic-cz/oxc-config/.oxfmtrc.base.jsonc .oxfmtrc.jsonc

Then add your project-specific sortImports.internalPattern and sortTailwindcss:

{
  // ... base settings from @blogic-cz/oxc-config ...
  "sortImports": {
    "internalPattern": ["@/", "@your-project/"],
    "groups": [ /* already in base */ ]
  },
  "sortTailwindcss": {
    "stylesheet": "./apps/web-app/src/styles/app.css",
    "functions": ["clsx", "cn"]
  }
}

What's included

Linter — categories (error by default)

  • correctness
  • perf
  • suspicious

Linter — key rules (all error)

  • No any, no as Type suppression, consistent type imports
  • No relative parent imports, no import cycles, no default exports
  • eqeqeq, require-await, no-var
  • unicorn/consistent-function-scoping, unicorn/prefer-set-has
  • promise/always-return
  • oxc/no-map-spread

Linter — React layer adds

  • jsx-a11y/* accessibility rules
  • react/rules-of-hooks, react-hooks/exhaustive-deps
  • react/no-array-index-key, react/self-closing-comp

Linter — shared overrides

Test files, scripts, and tooling paths (.claude, .agents, .opencode) have relaxed rules where appropriate.

Formatter — what's shared

  • semi: true, singleQuote: false, printWidth: 60
  • tabWidth: 2, useTabs: false, trailingComma: "es5"
  • Import sort groups (type-first, then builtin/external, then internal)
  • Standard ignore patterns (assets, build output, node_modules)

License

MIT