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

@shekohex/oxc-effect

v0.2.1

Published

Oxlint rules for declarative Effect TypeScript composition and repository-wide style consistency.

Readme

OXC Effect

@shekohex/oxc-effect is an Oxlint JS plugin for Effect TypeScript. It enforces flat composition, explicit sequencing, readable control flow, and code shapes that are easier to remediate mechanically.

Targets Effect v4 only. Effect v3 APIs and rule aliases are not supported.

All former Biome Grit rules are implemented with Oxlint's ESLint-compatible plugin API. The plugin uses eslintCompatPlugin and createOnce, so it runs through Oxlint's optimized JS plugin path while remaining ESLint-compatible.

Install

npm install -D @shekohex/oxc-effect
yarn add -D @shekohex/oxc-effect
pnpm add -D @shekohex/oxc-effect

oxlint and @oxlint/plugins are runtime dependencies, so the package CLI works without separate setup.

effect ^4.0.0-beta.0 is a required peer dependency. @effect/atom-react ^4.0.0-beta.0 is optional and only needed for React Atom projects.

Configure Oxlint

Use the full preset from .oxlintrc.json:

{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "extends": [
    "./node_modules/@shekohex/oxc-effect/configs/full.jsonc"
  ]
}

Available presets:

  • configs/full.jsonc: every rule
  • configs/core.jsonc: Effect composition and control-flow rules
  • configs/web.jsonc: React and Effect Atom rules
  • configs/ts-type.jsonc: type-modeling and boundary rules

Oxlint does not support npm shared-config names in extends. Use explicit node_modules file path shown above.

Select Rules

Register plugin directly when using custom subset:

{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "jsPlugins": [
    {
      "name": "effect",
      "specifier": "@shekohex/oxc-effect"
    }
  ],
  "rules": {
    "effect/no-effect-gen-callback-alias": "error",
    "effect/no-effect-fn-callback-alias": "error",
    "effect/prefer-effect-fn": "error",
    "effect/no-return-in-arrow": "warn"
  }
}

Oxlint JS plugins are currently alpha. Pin package versions when adopting them in CI.

CLI

Package ships zero-setup CLI. It writes temporary Oxlint config with selected preset and runs bundled Oxlint binary.

npx @shekohex/oxc-effect check src/file.ts
npx @shekohex/oxc-effect check src/messages --preset=core
npx @shekohex/oxc-effect check src/messages --preset=core --guide-on-linting
npx @shekohex/oxc-effect guide

check runs Oxlint. --preset accepts full, core, web, or ts-type. --guide prints remediation guide before linting. --guide-on-linting prints it only when Oxlint exits non-zero. guide --print prints packaged guide content.

Agent Guide

Package includes remediation guidance at docs/linting.md.

npx @shekohex/oxc-effect guide
npx @shekohex/oxc-effect guide --print
node -p "require.resolve('@shekohex/oxc-effect/agent-guide')"

Severity

Most rules are errors. Shape guidance remains warnings:

  • no-effect-succeed-variable
  • no-flatmap-ladder
  • no-option-effect-branch
  • prefer-assert-in-effect-test
  • prefer-effect-async
  • prefer-effect-cache
  • prefer-effect-child-process
  • prefer-effect-date-time
  • prefer-effect-http-client
  • prefer-effect-scheduling
  • prefer-effect-test-layer
  • prefer-schema-json
  • no-return-in-arrow
  • no-return-in-callback
  • warn-effect-sync-wrapper

Biome allowed one Grit rule to emit different severities. Oxlint severity belongs to rule configuration, so former no-match-effect-branch implementation is represented as error rule no-match-effect-branch and warning rule no-option-effect-branch.

Rule Options

Every rule supports ignoredPathFragments. Diagnostics are skipped when current file path contains any configured fragment.

{
  "rules": {
    "effect/no-switch-statement": [
      "error",
      {
        "ignoredPathFragments": ["/generated/", ".stories."]
      }
    ],
    "effect/prefer-effect-http-client": "off"
  }
}

Use native severity to control activation:

  • "off": disabled
  • "warn": enabled as warning
  • "error": enabled as error

Development

corepack yarn install --immutable
corepack yarn test
corepack yarn build

Tests execute real Oxlint processes against TypeScript and TSX fixtures. Every exported rule has direct invalid-case coverage; complex structural rules also retain valid fixtures and edge-case coverage.

Layout

  • plugin.js: published Oxlint plugin entrypoint
  • lib/ast.js: shared ESTree traversal and matching helpers
  • rules/*.js: converted rule modules
  • configs/*.jsonc: published Oxlint presets
  • bin/oxc-effect.mjs: zero-setup CLI
  • docs/linting.md: remediation guide
  • tests/rules: real Oxlint integration tests

Tooling

Use this rule pack with @effect/tsgo, @typescript/native-preview, and @effect/language-service. Oxlint enforces code shape, Tsgo provides compile feedback, and Effect language service provides project-aware diagnostics.

Publishing

Repository is Projen-managed. Edit .projenrc.ts, then run corepack yarn tsx .projenrc.ts when changing generated package metadata or workflows.

release.yml uses npm provenance and GitHub OIDC from the npm environment. Release Please opens a release PR after releasable commits reach master; merging that PR publishes the resulting package.

Because npm Trusted Publishers require an existing package, bootstrap 0.0.7 once from a trusted local machine:

  1. Run corepack yarn build.
  2. Authenticate with npm using npm login.
  3. Publish the generated tarball with npm publish dist/js/shekohex-oxc-effect-0.0.7.tgz --access public.
  4. On npmjs.com, configure GitHub Actions as trusted publisher with repository shekohex/oxc-effect-linting-rules, workflow release.yml, and environment npm.
  5. Future Release Please versions authenticate through OIDC only; no npm token or GitHub secret is required.