WhosNickDoglio / dagger-rules

Static analysis checks for using Dagger, Anvil, or Hilt.
https://whosnickdoglio.dev/dagger-rules/
MIT License
7 stars 0 forks source link

Rule Ideas #1

Open WhosNickDoglio opened 1 year ago

WhosNickDoglio commented 1 year ago

Vanilla Dagger

Anvil

Hilt

Inspiration / Resources

WhosNickDoglio commented 1 year ago

Block Impl from being injected if it used @ContributesBinding

Logic might look like something like this:

This might have a large amount of false positives but we'll see 🤷

Maybe this is better as SPI check?

WhosNickDoglio commented 10 months ago

flag incorrect usage of @BindsInstance