Skip to content

chore: enforce file extensions in relative imports - #719

Open
B4nan wants to merge 2 commits into
masterfrom
chore/lint-import-extensions
Open

B4nan wants to merge 2 commits 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. oxlint goes from 1.62 to 1.87, because 1.62 reports imports that already end in .js as missing an extension. Same rule as apify/apify-sdk-js#770.

@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
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.

1 participant