oxlint

Enforce oxlint and ESLint conventions for TypeScript projects.

23|3|Updated Jun 28, 2022
One-click install
npx skills add https://github.com/Esposter/Esposter --skill oxlint-esposter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oxlint
Source: https://github.com/Esposter/Esposter/tree/main/.agents/skills/oxlint
Command: npx skills add https://github.com/Esposter/Esposter --skill oxlint-esposter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Oxlint and ESLint conventions help ensure TypeScript projects maintain a cohesive style, reducing lint churn and review overhead by standardizing method signatures and regex capture-group usage.

Core Features & Use Cases

  • Enforces TypeScript method-signature-style rules with clear exceptions for augmented built-ins and third-party declarations.
  • Enforces named-capture-group usage in regex patterns and provides guidance for applying disable directives.
  • Applies during lint fixes or when adding interface declarations and regex-based rules to promote code consistency.

Quick Start

Run pnpm lint:fix at the repository root to apply oxlint and eslint fixes across the codebase.

Frequently Asked Questions about oxlint

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

FAQPage Schema
How do I enforce consistent TypeScript method-signature-style rules across my project?

To enforce consistent TypeScript method-signature-style rules, you can apply lint conventions that standardize interface declarations while allowing clear exceptions for augmented built-ins and third-party declarations, reducing review overhead.

How do I require named capture groups in regex patterns during lint fixes?

Requiring named capture groups in regex patterns involves applying lint rules that flag unnamed capture groups, guiding developers to use named groups for better readability and enforcing consistency during automated lint fixes.

What is the best way to standardize ESLint and oxlint conventions in a TypeScript codebase?

Standardizing ESLint and oxlint conventions in a TypeScript codebase is achieved by applying unified rules for method signatures and regex usage, which reduces lint churn and promotes cohesive styling across the repository.

Can I apply inline disable directives for specific TypeScript lint rules?

Yes, you can apply inline disable directives for specific TypeScript lint rules, allowing you to suppress method-signature-style or prefer-named-capture-group warnings in targeted code segments while maintaining overall project consistency.

How do I run automated lint fixes for TypeScript regex and interface declarations?

To run automated lint fixes for TypeScript regex and interface declarations, execute the repository's lint fix command at the root level, which applies oxlint and ESLint conventions to resolve errors and enforce patterns across the codebase.