oxlint
Installation
SKILL.md
Oxlint
Use this skill when work touches Oxlint or Oxc linting: install/config, day-to-day usage, rules/plugins, type-aware linting, ESLint coexistence or migration, editors, or CI.
Workflow
- Inspect the local Oxlint surface before changing code:
- Package versions for
oxlint, optionaloxlint-tsgolint,eslint-plugin-oxlint,@oxlint/migrate. - Config: prefer
oxlint.config.ts/.mtswithdefineConfig; also accept.oxlintrc.json(c)(one type per directory). - Remaining ESLint setup, ignore files, scripts (
lint/lint:fix), and editor Oxc settings. - Whether type-aware linting or JS plugins are in play.
- Package versions for
- For setup, how-to, progressive adoption, diagnostics loops, baselines, or troubleshooting, follow the full guide first: usage-guide.md.
- Refresh current official docs when versions differ from the snapshot or the work touches type-aware, JS plugins, or migration. Start from source-map.md.
- Route deeper detail to the focused references:
- Install, CLI, config shape, nested configs, ignores: setup-cli-config.md.
- Categories, plugins, rules, inline ignores, type-aware: rules-plugins-typeaware.md.
- ESLint coexistence, migration, editors, CI: eslint-ci-editors.md.
- Preserve the repository's existing lint severity and plugin choices unless the user asks to migrate or expand coverage.
- Verify with the narrowest useful
bunx oxlint/bun run lintinvocation.