Skip to content

Bump eslint-plugin-import-structure to 0.12.0 - #3

Merged
temeddix merged 1 commit into
mainfrom
bump-import-structure-0.12
Oct 29, 2026
Merged

temeddix merged 1 commit into
mainfrom
bump-import-structure-0.12

Conversation

@temeddix

@temeddix temeddix commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Summary

Bump the dev dependency eslint-plugin-import-structure from ^0.10.4 to ^0.12.0.

Changes

  • package.json: range set to ^0.12.0.
  • package-lock.json: resolves 0.12.0 and records its new optional eslint >=9 peer dependency.

No source changes were needed: the stricter 0.11/0.12 rules (overlap when 2 aliases cover the same area, the ownArea message, no-parent-import on any .. segment, layer checks for lone /* patterns, ?query handling) report nothing in this repo.

Risks

  • Dev-only change; the published package and its dist/ output are unaffected.
  • The new peer dependency on eslint is optional, so npm installs nothing extra.

Open questions

None.

Verification

  • vp check: formatting, lint and type check pass.
  • vp test: 2 files, 4 tests pass.
  • vp pack builds; npm pack --dry-run succeeds.

🤖 Generated with Claude Code

@temeddix

Copy link
Copy Markdown
Member Author

Automated review (round 1)

  • Diff scope: package.json changes one range (^0.10.4 to ^0.12.0); package-lock.json changes only the root range and the eslint-plugin-import-structure entry (version, resolved, integrity, and an optional eslint >=9 peer copied from upstream). Key order and package.json shape are unchanged.
  • Commit: plain imperative, no prefix or AI trailer.
  • Repo rules: no lint disable comments; vite.config.ts still spreads configs.all.rules; scripts/project-lint.ts turns off no import-structure/* rule.
  • Re-ran vp check, vp test (4/4), and vp pack; all pass.
  • Checked that the 0.12 rules really run, using temporary probe files (now removed): no-parent-import fires on a mid-path .. and on ?raw specifiers, ownArea/ownEntry fire for deep imports into the importer's own area, overlap fires for 2 aliases on the same area, nested aliases get layer-checked, and a lone /* pattern into an owned area is reported. The repo passes because its single-alias layout gives these rules nothing to report.
  • Nits, now fixed in the PR body: the overlap wording (it fires only when 2 aliases cover the same area, not on nesting), and the missing "Open questions" section.

VERDICT: APPROVED

@temeddix
temeddix merged commit dbd1e33 into main Oct 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant