Skip to content

feat: oxlint#1

Merged
euaaaio merged 14 commits into
mainfrom
oxlint
Apr 29, 2026
Merged

feat: oxlint#1
euaaaio merged 14 commits into
mainfrom
oxlint

Conversation

@euaaaio
Copy link
Copy Markdown
Member

@euaaaio euaaaio commented Apr 28, 2026

No description provided.

@euaaaio euaaaio changed the title fix(oxlint): restore oxlint stack on branch oxlint feat: oxlint Apr 28, 2026
@euaaaio euaaaio requested a review from Copilot April 28, 2026 19:27
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces shareable oxlint configuration alongside existing oxfmt config, and adds a generator script to derive oxlint configs from eslint-config-fans.

Changes:

  • Add src/oxlint shareable config entrypoint plus a set of theme configs (javascript/imports/node/unicorn/typescript/vue, etc.).
  • Add scripts/oxgen.ts to migrate/generate oxlint configs and produce UNSUPPORTED-RULES.md.
  • Update tooling and packaging (new oxlint.config.ts, new npm scripts, updated dependencies/lockfile).

Reviewed changes

Copilot reviewed 19 out of 21 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/oxlint/index.js New oxlint config composer (defineConfig) assembling theme configs via extends.
src/oxlint/index.d.ts Type definitions for the exported oxlint API.
src/oxlint/configs/javascript.js Base oxlint rules + category enabling (correctness/suspicious).
src/oxlint/configs/imports.js Import-related rule configuration.
src/oxlint/configs/promise.js Promise rules configuration.
src/oxlint/configs/node.js Node rules configuration.
src/oxlint/configs/de-morgan.js De Morgan rules config (JS plugin).
src/oxlint/configs/unicorn.js Unicorn rules configuration.
src/oxlint/configs/typescript.js TypeScript rules configuration incl. overrides for tests.
src/oxlint/configs/vue.js Vue rules + .vue override.
src/oxlint/configs/vue-a11y.js Vue accessibility rules config (JS plugin).
src/oxlint/configs/perfectionist.js Perfectionist sorting rules config (JS plugin).
src/oxlint/configs/e18e.js E18E rules config (JS plugin).
src/oxlint/configs/opinionated.js Additional opinionated overrides layered on top of base themes.
src/oxfmt/index.js Refactor to share a helper for optional/merged formatter sub-configs.
scripts/oxgen.ts New generator to migrate ESLint flat-config themes into oxlint configs and prune/patch results.
oxlint.config.ts Repo-local oxlint config using the new shareable config.
UNSUPPORTED-RULES.md Generated report of ESLint rules without oxlint equivalents.
package.json Expose ./oxlint, add lint/build scripts, and add dev/peer deps for oxlint tooling.
pnpm-workspace.yaml Add pnpm onlyBuiltDependencies configuration.
pnpm-lock.yaml Lockfile updates for new dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/oxlint/index.js
Comment thread src/oxlint/index.js
Comment thread package.json
Comment thread scripts/oxgen.ts Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 22 out of 24 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/oxlint/index.js
Comment thread src/oxlint/index.js Outdated
Comment thread src/oxlint/index.js
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 22 out of 24 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 23 out of 25 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/oxlint/index.js
@euaaaio euaaaio requested a review from Copilot April 29, 2026 23:12
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 26 out of 29 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/oxlint/index.js Outdated
Comment thread src/oxfmt/index.js Outdated
@euaaaio euaaaio merged commit 79bdbcb into main Apr 29, 2026
3 checks passed
@euaaaio euaaaio deleted the oxlint branch April 29, 2026 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants