Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to expand var-info.edn data with arbitrary third-party libraries #398

Open
vemv opened this issue Jun 20, 2021 · 0 comments
Open

Comments

@vemv
Copy link
Collaborator

vemv commented Jun 20, 2021

var-info.edn represents a closed set of data.

So one cannot inform Eastwood of one's own side-effectful functions, which in turns can result in false positives for :unused-ret-vals.

I foresee a couple ways of extension:

  • resources, akin to Eastwood's "config files" API
  • embedding metadata directly in a given defn, e.g. defn ^:eastwood/side-effectful foo
    • other tools could also use this so it doesn't seem overly invasive.
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

No branches or pull requests

1 participant