Skip to content

Oxlint configuration setup#46

Merged
kentcdodds merged 4 commits intomainfrom
cursor/oxlint-configuration-setup-db04
Feb 5, 2026
Merged

Oxlint configuration setup#46
kentcdodds merged 4 commits intomainfrom
cursor/oxlint-configuration-setup-db04

Conversation

@kentcdodds
Copy link
Copy Markdown
Member

@kentcdodds kentcdodds commented Feb 5, 2026

Add an Oxlint configuration, mirroring the existing ESLint setup, to offer a modern, fast linter and document its current rule limitations.


Open in Cursor Open in Web


Note

Low Risk
Adds a new exported linter config and documentation only; no runtime or build logic is changed, so risk is limited to consumers opting into new lint rules/ignores.

Overview
Adds a first-class Oxlint configuration alongside the existing ESLint/Prettier/TypeScript configs.

Introduces oxlint-config.json (rules, ignore patterns, and file overrides roughly mirroring the ESLint setup) and publishes it via a new ./oxlint export in package.json. Updates the README with Oxlint setup instructions, notes about type-aware rules, and a list of ESLint rules/plugins that are intentionally unsupported/omitted in Oxlint.

Written by Cursor Bugbot for commit 0f87ae5. This will update automatically on new commits. Configure here.

Cursor Bugbot reviewed your changes and found no issues for commit 0f87ae5

Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Feb 5, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@kentcdodds kentcdodds marked this pull request as ready for review February 5, 2026 00:03
Comment thread oxlint-config.json Outdated
@cursor
Copy link
Copy Markdown

cursor Bot commented Feb 5, 2026

Bugbot Autofix prepared fixes for 1 of the 1 bugs found in the latest run.

  • ✅ Fixed: Option name uses wrong case convention
    • Updated the import/no-duplicates option to use kebab-case so Oxlint recognizes it like the ESLint config.

Comment thread oxlint-config.json Outdated
@cursor
Copy link
Copy Markdown

cursor Bot commented Feb 5, 2026

Bugbot Autofix prepared fixes for 1 of the 1 bugs found in the latest run.

  • ✅ Fixed: Duplicate eslint/no-unused-vars configuration in overrides
    • Consolidated the eslint/no-unused-vars rule into the shared source-files override to eliminate duplicate definitions.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is ON. A Cloud Agent has been kicked off to fix the reported issue.

Comment thread oxlint-config.json Outdated
@cursor
Copy link
Copy Markdown

cursor Bot commented Feb 5, 2026

Bugbot Autofix prepared fixes for 1 of the 1 bugs found in the latest run.

  • ✅ Fixed: Case mismatch in warning comment term configuration
    • Updated the oxlint rule term to uppercase "FIXME" to match the ESLint configuration and documented convention.

@kentcdodds kentcdodds merged commit 5894ffe into main Feb 5, 2026
5 checks passed
@kentcdodds kentcdodds deleted the cursor/oxlint-configuration-setup-db04 branch February 5, 2026 00:35
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 5, 2026

🎉 This PR is included in version 1.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants