Skip to content

feat(cli): support .ts config file for oxlint - #701

Merged
Brooooooklyn merged 1 commit into
mainfrom
03-05-feat_cli_support_.ts_config_file_for_oxlint
Mar 5, 2026
Merged

feat(cli): support .ts config file for oxlint#701
Brooooooklyn merged 1 commit into
mainfrom
03-05-feat_cli_support_.ts_config_file_for_oxlint

Conversation

@Brooooooklyn

@Brooooooklyn Brooooooklyn commented Mar 5, 2026

Copy link
Copy Markdown
Member

Note

Medium Risk
Changes how oxlint is configured for vp lint by executing a TS import of vite.config, which could affect lint runs in projects with unusual module resolution or config shapes.

Overview
Updates vp lint to generate a temporary TypeScript config (.vite-plus-lint.tmp.mts) that imports the workspace’s vite.config and re-exports its lint field via oxlint’s defineConfig, instead of writing out a JSON config snapshot.

Splits temp-config generation into TS-import (write_temp_ts_config_import) vs JSON (write_temp_json_config_file), keeping vp fmt on JSON output, and adds an --ignore-pattern so oxlint doesn’t lint the generated temp file.

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

@netlify

netlify Bot commented Mar 5, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-staging canceled.

Name Link
🔨 Latest commit 8aec218
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-staging/deploys/69a94a2ffbcfa00008f40811

Brooooooklyn commented Mar 5, 2026

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Brooooooklyn
Brooooooklyn requested review from cpojer and fengmk2 March 5, 2026 08:12
Comment thread packages/cli/binding/src/cli.rs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 021c3d6388

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/cli/binding/src/cli.rs
Comment thread packages/cli/binding/src/cli.rs
@Brooooooklyn
Brooooooklyn force-pushed the 03-05-feat_cli_support_.ts_config_file_for_oxlint branch from 021c3d6 to 7874acb Compare March 5, 2026 08:21

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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 OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread packages/cli/binding/src/cli.rs Outdated
@Brooooooklyn
Brooooooklyn force-pushed the 03-05-feat_cli_support_.ts_config_file_for_oxlint branch from 7874acb to 07dfb67 Compare March 5, 2026 09:03
@Brooooooklyn
Brooooooklyn force-pushed the 03-05-feat_cli_support_.ts_config_file_for_oxlint branch from 07dfb67 to 8aec218 Compare March 5, 2026 09:17
@Brooooooklyn
Brooooooklyn merged commit da3ff67 into main Mar 5, 2026
22 checks passed

Copy link
Copy Markdown
Member Author

Merge activity

@Brooooooklyn
Brooooooklyn deleted the 03-05-feat_cli_support_.ts_config_file_for_oxlint branch March 5, 2026 09:39
@fengmk2

fengmk2 commented Mar 5, 2026

Copy link
Copy Markdown
Member

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants