Custom oxlint rules
  • TypeScript 99.4%
  • Nix 0.6%
Find a file
James Fitzgerald a84d7fc6f2
All checks were successful
check / check (push) Successful in 27s
docs: describe plugin as custom
2026-10-07 08:45:32 -05:00
.github/workflows add package checks and ci 2026-06-09 07:16:24 -05:00
dist add require-lint-directive-reason rule 2026-10-03 07:24:41 -05:00
src add require-lint-directive-reason rule 2026-10-03 07:24:41 -05:00
.envrc add bun dev shell 2026-06-17 20:56:49 -05:00
.gitignore add bun dev shell 2026-06-17 20:56:49 -05:00
bun.lock add package checks and ci 2026-06-09 07:16:24 -05:00
flake.lock add bun dev shell 2026-06-17 20:56:49 -05:00
flake.nix add bun dev shell 2026-06-17 20:56:49 -05:00
oxfmt.config.ts add package checks and ci 2026-06-09 07:16:24 -05:00
package.json add package checks and ci 2026-06-09 07:16:24 -05:00
README.md docs: describe plugin as custom 2026-10-07 08:45:32 -05:00
tsconfig.json create oxlint plugin package 2026-06-09 07:08:00 -05:00

@jawfish/oxlint-plugin

Custom Oxlint JS plugin for shared TypeScript lint rules.

Use in a project

Install from the private Forgejo repo:

bun add -d git+https://git.jawfish.dev/james/oxlint-plugin.git#main

This adds to package.json:

"@jawfish/oxlint-plugin": "git+https://git.jawfish.dev/james/oxlint-plugin.git#main"

Use the bundled preset:

import { defineConfig } from "oxlint";

import jawfish from "@jawfish/oxlint-plugin/config";
import core from "ultracite/oxlint/core";

export default defineConfig({
  extends: [core, jawfish],
  ignorePatterns: core.ignorePatterns,
});

Or enable rules manually:

import { defineConfig } from "oxlint";

export default defineConfig({
  jsPlugins: ["@jawfish/oxlint-plugin"],
  rules: {
    "general/no-async-foreach": "error",
  },
});

Update consumers

bun update @jawfish/oxlint-plugin

Development

bun install
bun run test
bun run typecheck
bun run build