Workiva / dependency_validator

A tool to help you find missing, under-promoted, over-promoted, and unused dependencies.
Other
56 stars 18 forks source link

Implemented dart ast parsing for import/export usage #108

Closed matthewnitschke-wk closed 2 months ago

matthewnitschke-wk commented 3 months ago

Motivation

There's been a long standing bug with dependency_validator, where if an import or export within dart source exists within a commented out code block, it will still be treated as if it was a valid import/export

This PR addresses this issue by implementing ast parsing of the dart files, and selects all package names based off of Directive nodes.

Closes #21

QA

tbd

aviary2-wf commented 3 months ago

Security Insights

No security relevant content was detected by automated scans.

Action Items

matthewnitschke-wk commented 2 months ago

This feature has been absorbed in the #111 branch