Skip to content

feat: add linting and formatting ignores for compatibility with OXC#621

Open
FrontEndDog wants to merge 1 commit intounplugin:mainfrom
FrontEndDog:oxc
Open

feat: add linting and formatting ignores for compatibility with OXC#621
FrontEndDog wants to merge 1 commit intounplugin:mainfrom
FrontEndDog:oxc

Conversation

@FrontEndDog
Copy link

Description

Linked Issues

Additional context

Copilot AI review requested due to automatic review settings March 16, 2026 09:04
@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

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 updates the generated .d.ts header comments so that OXC tooling (oxlint/oxfmt) will ignore the generated declarations, aligning behavior with existing ESLint/Prettier ignores.

Changes:

  • Add /* oxlint-disable */ and /* oxfmt-ignore */ directives to the .d.ts header generated by createContext().
  • Update the DTS snapshot and the append/overwrite-mode test fixture to reflect the new header lines.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
test/tmp/dts.increase.d.ts Updates the DTS fixture header to include OXC ignore directives.
test/snapshots/dts.test.ts.snap Updates the expected generated DTS snapshot header to include OXC ignore directives.
src/core/ctx.ts Adds OXC ignore directives to the generated DTS preamble string.

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

You can also share your feedback on Copilot code review. Take the survey.

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.

2 participants