Skip to content

Scope lint rules to their frameworks and generated declarations - #81

Merged
mapringg merged 2 commits into
developfrom
scope-framework-lint
Nov 21, 2026
Merged

mapringg merged 2 commits into
developfrom
scope-framework-lint

Conversation

@mapringg

@mapringg mapringg commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

Scope the built-in rules to the frameworks whose code they check.

- Apply Next Image and module syntax rules to every source file
+ Require Next Image in Next, allow classic scripts in Astro, and allow ambient declarations and the Worker entry export
+ Treat Astro pages like Next routes for the import limit

Evidence

  • Before: Four regression cases failed under the previous configuration.
    After: pnpm test passes all 88 tests. Lint, format, and Knip also pass.

Merge Danger

Door: two-way

Blast Radius: lint

@mapringg
mapringg merged commit e0d5497 into develop Nov 21, 2026
1 check passed
@mapringg
mapringg deleted the scope-framework-lint branch November 21, 2026 08:10
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