mpsuesser

Write oxlint custom lint rules with Effect v4

12
0
100% credibility
Found Apr 06, 2026 at 12 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

effect-oxlint is a library that simplifies creating custom linting rules for JavaScript and TypeScript codebases using functional programming patterns from the Effect library.

How It Works

1
🔍 Discover the tool

While searching for ways to keep your team's code clean and safe, you stumble upon effect-oxlint, a helper for making custom code checkers.

2
📥 Bring it into your project

You simply add this tool to your coding setup so it's ready to use with your existing workflow.

3
✏️ Write a simple checker rule

You create an easy rule, like 'skip risky shortcuts and use safer methods instead', in a friendly, step-by-step way.

4
🧪 Test your new rule

You run it on a bit of sample code and feel excited as it perfectly catches what you wanted to avoid.

5
📦 Group rules together

You bundle a few rules into a complete checker pack tailored to your project's needs.

6
🔍 Scan your whole codebase

You launch the checker across all your files, and it quickly shows helpful suggestions right where needed.

Code becomes stronger

Your project now follows smart practices, making it more reliable, easier to maintain, and a joy for your team to build on.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 12 to 12 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is effect-oxlint?

effect-oxlint lets TypeScript developers write custom oxlint lint rules using Effect v4. It provides Effect generators for rule creation, Option-safe AST matching for patterns like JSON.parse or Math.random, and composable visitors for state tracking without mutable variables. Users get typed diagnostics, autofixes, and plugin assembly that plug straight into oxlint for fast linting.

Why is it gaining traction?

It ditches ESLint-style boilerplate for Effect's yield-based flows, factories to ban imports, calls, new expressions, or loops in one line, and testing helpers with mock AST builders. Effect fans notice safer composition and Ref-based counters for depth tracking or data accumulation. Ideal for custom rules in TypeScript GitHub workflows or actions.

Who should use this?

Effect adopters enforcing library idioms, like swapping node:fs for FileSystem services or throw for Effect.fail. TypeScript teams writing oxlint plugins for monorepos, especially in GitHub Actions where custom lint rules catch anti-patterns early.

Verdict

Grab it if you're on Effect v4 and oxlint—docs and testing shine for quick rule prototyping. With 12 stars and 1.0% credibility, it's immature; test thoroughly before production GitHub workflows.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.