oxlint

Configure, run, and troubleshoot Oxlint for JavaScript and TypeScript codebases.

1|Updated Feb 19, 2025
One-click install
npx skills add https://github.com/trystan2k/favoritable-old --skill oxlint-trystan2k
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oxlint
Source: https://github.com/trystan2k/favoritable-old/tree/main/.agents/skills/oxlint
Command: npx skills add https://github.com/trystan2k/favoritable-old --skill oxlint-trystan2k

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the friction of setting up, configuring, and maintaining Oxlint for JavaScript and TypeScript projects, reducing time spent on linting configuration, rule conflict resolution, and CI integration troubleshooting.

Core Features & Use Cases

  • Oxlint Configuration: Set up .oxlintrc.json or oxlint.config.ts with optimized plugins, rule categories, and ignore patterns for React, TypeScript, and Node.js projects.
  • Rule Tuning & Troubleshooting: Resolve false positives, slow type-aware linting, rule conflicts, and migration issues from ESLint or Biome to Oxlint.
  • Use Case: For a React + TypeScript monorepo, use this Skill to quickly configure Oxlint with the correct plugins, disable legacy React JSX rules, set up lint-staged pre-commit hooks, and fix common CI lint failures.

Quick Start

Use the oxlint skill to configure a production-ready Oxlint setup for your React TypeScript project, including plugin selection, rule tuning, and CI integration.

Frequently Asked Questions about oxlint

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Oxlint for a React and TypeScript monorepo?

To set up Oxlint for a React and TypeScript monorepo, you create an .oxlintrc.json or oxlint.config.ts file with optimized plugins, rule categories, and ignore patterns. This configuration enables fast, low-noise linting to catch suspicious code patterns across your packages.

What is the best way to migrate from ESLint to Oxlint?

Migrating from ESLint to Oxlint involves configuring Oxlint rule sets to match your previous setup and resolving any rule conflicts or false positives. This transition provides native Rust performance for faster linting while maintaining code quality enforcement in JavaScript and TypeScript projects.

Can I use Oxlint with pre-commit hooks and CI integration?

Yes, you can integrate Oxlint with CI pipelines and pre-commit hooks using lint-staged. This setup ensures that JavaScript and TypeScript code is automatically checked for correctness and suspicious patterns before commits or merges, maintaining code quality with native Rust performance.

How do I fix slow type-aware linting and false positives in Oxlint?

To fix slow type-aware linting and false positives in Oxlint, you tune the rule categories and adjust ignore patterns in your configuration file. This troubleshooting process reduces friction and ensures fast, low-noise code quality checks for your TypeScript codebase.

Does Oxlint support linting for Node.js and test environments?

Yes, Oxlint supports linting for Node.js and test environments through customizable rule sets and plugins. You can configure specific rule categories in your Oxlint configuration to enforce code quality and catch correctness issues across different JavaScript runtime contexts.