Skip to content
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

feat(linter): add statement_span to ModuleRecord/ImportEntry #8195

Merged

Conversation

Sysix
Copy link
Contributor

@Sysix Sysix commented Dec 30, 2024

Probably a breaking change.

this is needed for the diagnostic in no-restricted-imports: #8113

you can see the eslint expection here:
https://github.com/eslint/eslint/blob/main/tests/lib/rules/no-restricted-imports.js#L487-L517

Copy link

graphite-app bot commented Dec 30, 2024

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

@github-actions github-actions bot added A-linter Area - Linter C-enhancement Category - New feature or request labels Dec 30, 2024
Copy link

codspeed-hq bot commented Dec 30, 2024

CodSpeed Performance Report

Merging #8195 will not alter performance

Comparing Sysix:feat-linter-add-statement-span-for-import-entry (caa56f9) with main (ccaa9f7)

Summary

✅ 29 untouched benchmarks

@camc314 camc314 requested a review from Boshen December 30, 2024 20:59
@Boshen Boshen changed the title feat(linter)!: add statement_span to ModuleRecord/ImportEntry feat(linter): add statement_span to ModuleRecord/ImportEntry Dec 31, 2024
@Boshen Boshen merged commit bde44a3 into oxc-project:main Dec 31, 2024
28 checks passed
@oxc-bot oxc-bot mentioned this pull request Jan 2, 2025
Boshen added a commit that referenced this pull request Jan 2, 2025
## [0.15.5] - 2025-01-02

### Features

- 0e168b8 linter: Catch more cases in const-comparisons (#8215)
(Cameron)
- bde44a3 linter: Add `statement_span` to `ModuleRecord/ImportEntry`
(#8195) (Alexander S.)
- ccaa9f7 linter: Implement `eslint/new-cap`  (#8146) (Alexander S.)

### Bug Fixes

- 2b14a6f linter: Fix `ignorePattern` config for windows (#8214)
(Alexander S.)

### Testing

- cb709c9 linter: Fix some oxlint tests on windows (#8204) (Cameron)

Co-authored-by: Boshen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter C-enhancement Category - New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants