Workiva / Workiva/dependency_validator

Consider implementing this as an analyzer plugin

Open
#67 0 comments 18 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
66
Forks
26
Avg merge
5d 7h
Merged PRs (30d)
7

Description

Currently, we detect dependency usages with regex matching. This is fast, but can produce false positives (#21). It's also separate tool that needs to be run manually and added to CI.

To address these, we should consider implementing the current logic as a plugin to the Dart analysis server. Users would get results as a part of their existing static analysis (including via IDEs for more immediate and continuous feedback).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the current regex-based dependency detection and how the tool is run manually or in CI. Then investigate the Dart analysis server plugin model and determine how the existing logic could provide static-analysis results, including IDE feedback. Done means the dependency checks are available through the analyzer rather than only as a separate command.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.