Skip to content

Handle graphs imported from external packages in ESLint plugin and VS Code extension#237

Merged
guyca merged 37 commits intomasterfrom
eslintPluginHandlePackages
Oct 31, 2025
Merged

Handle graphs imported from external packages in ESLint plugin and VS Code extension#237
guyca merged 37 commits intomasterfrom
eslintPluginHandlePackages

Conversation

@guyca
Copy link
Collaborator

@guyca guyca commented Oct 9, 2025

This PR changes how the ESLint plugin and the VS Code extension interacts with the AST. It integrated ts-morph which provides better, higher-level, abstractions over AST primitives. This allows for easier AST traversal and query.

The motivation for this change is a bug reported in #230 - graphs imported from external packages weren't detected by the ESLint rule.

Fixes #230

@guyca guyca changed the title Handle graphs imported from external packages in ESLint plugin Handle graphs imported from external packages in ESLint plugin and VS Code extension Oct 31, 2025
@guyca guyca merged commit d570a0c into master Oct 31, 2025
2 checks passed
@guyca guyca deleted the eslintPluginHandlePackages branch October 31, 2025 10:07
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.

ESLint rules are not supporting absolute imports

1 participant