Skip to content

chore: enforce file extensions in relative imports - #1487

Merged
l2ysho merged 1 commit into
masterfrom
chore/lint-import-extensions
Oct 9, 2026
Merged

l2ysho merged 1 commit into
masterfrom
chore/lint-import-extensions

Conversation

@B4nan

@B4nan B4nan commented Oct 9, 2026

Copy link
Copy Markdown
Member

Enables oxlint's import/extensions rule, so a relative import without the .js extension fails lint. Package imports are ignored, and the codebase already passes. Same rule as apify/apify-sdk-js#770.

@B4nan
B4nan requested review from DaveHanns and l2ysho as code owners October 9, 2026 18:10
@B4nan B4nan added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Oct 9, 2026
@l2ysho
l2ysho merged commit 59dc6b0 into master Oct 9, 2026
23 of 24 checks passed
@l2ysho
l2ysho deleted the chore/lint-import-extensions branch October 9, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants