Skip to content

chore: enforce file extensions in relative imports - #4246

Merged
B4nan merged 2 commits into
masterfrom
chore/lint-import-extensions
Oct 11, 2026
Merged

B4nan merged 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. The only violations were in @crawlee/stagehand-crawler, which now uses .js like the other packages. Same rule as apify/apify-sdk-js#770.

@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Oct 9, 2026
@B4nan B4nan added the adhoc Ad-hoc unplanned task added during the sprint. label Oct 9, 2026
Comment thread packages/stagehand-crawler/src/internals/stagehand-browser-pool.ts Outdated
@B4nan
B4nan merged commit dc52c6d into master Oct 11, 2026
10 checks passed
@B4nan
B4nan deleted the chore/lint-import-extensions branch October 11, 2026 08:11
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