Skip to content

chore(lint): add import hygiene rules - #3487

Merged
setchy merged 1 commit into
mainfrom
chore/lint-import-hygiene
Oct 24, 2026
Merged

setchy merged 1 commit into
mainfrom
chore/lint-import-hygiene

Conversation

@setchy

@setchy setchy commented Oct 24, 2026

Copy link
Copy Markdown
Member

Summary

Adds three low-risk import hygiene rules globally:

  • import/no-self-import
  • import/no-duplicates
  • import/no-empty-named-blocks

no-self-import and no-empty-named-blocks were already clean. no-duplicates found six test files importing the same module in separate statements; those imports are merged here.

Verification

  • pnpm check passes.
  • Full suite passes: 195 files / 1,938 tests.

@github-actions github-actions Bot added the chore Miscellaneous tasks label Oct 24, 2026
@setchy
setchy force-pushed the chore/lint-import-hygiene branch from b4b0b0d to a87b6b0 Compare October 24, 2026 13:27
@setchy
setchy marked this pull request as ready for review October 24, 2026 13:28
@setchy
setchy requested a review from afonsojramos as a code owner October 24, 2026 13:28
@setchy
setchy merged commit 7bcf29f into main Oct 24, 2026
15 checks passed
@setchy
setchy deleted the chore/lint-import-hygiene branch October 24, 2026 13:28
@github-actions github-actions Bot added this to the Release 7.11.0 milestone Oct 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Miscellaneous tasks

Development

Successfully merging this pull request may close these issues.

1 participant