-
-
Notifications
You must be signed in to change notification settings - Fork 734
test(linter/plugins): remove dprint-ignore-file comments from test fixtures
#15593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(linter/plugins): remove dprint-ignore-file comments from test fixtures
#15593
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Merge activity
|
There was a problem hiding this 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 removes defunct // dprint-ignore-file comments from test fixtures, as dprint is no longer used for formatting JavaScript/TypeScript files in the project.
Key Changes
- Removed
// dprint-ignore-filecomments from two test fixture files - Updated corresponding snapshot files to reflect the correct line numbers and character offsets after the comment removal
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
apps/oxlint/test/fixtures/estree/files/index.ts |
Removed the defunct // dprint-ignore-file comment (1 line removed) |
apps/oxlint/test/fixtures/estree/output.snap.md |
Updated snapshot with corrected line numbers and character positions after comment removal |
apps/oxlint/test/fixtures/custom_plugin_disable_directives/files/index.js |
Removed the defunct // dprint-ignore-file comment and blank line (2 lines removed) |
apps/oxlint/test/fixtures/custom_plugin_disable_directives/output.snap.md |
Updated snapshot with corrected line numbers after comment removal |
The changes are consistent and correct. The snapshot updates accurately reflect the removal of the comments, with all line numbers and character offsets properly adjusted. No issues were found during the review.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Actually it'd be better to replace with an But I don't know if |
5e5d2af to
a881b4f
Compare
|
Dunqing has advised no such I've added assertions to one of the tests which will throw if the fixture file gets formatted by accident. |
…fixtures (#15593) We don't use `dprint` any more to format JS/TS. So remove defunct `// dprint-ignore-file` comments from test fixtures.
a881b4f to
3eefa15
Compare

We don't use
dprintany more to format JS/TS. So remove defunct// dprint-ignore-filecomments from test fixtures.