Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BraisGabin authored and javils committed Nov 10, 2023
1 parent 21977bd commit 3d76ca3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ Lightsaber is a [Dagger 2][dagger] plugin that detects unused code in your `Modu
/path/module/com/example/MyComponent.java:6:8: e: The @BindsInstance `myInt` declared in `test.MyComponent` is not used. [UnusedBindInstance]
```

This plugin contains 5 rules:
This plugin contains 6 rules:
- Empty `@Component` and `@Subcomponent`
- Unused `@BindInstance`
- Unused `@Provides` or `@Binds` inside `@Module`s
- Unused `@Component(dependencies)`
- Unused member injection methods (`Component.inject(Foo)`)
- Unused `@Module`s

## How to use it
Expand Down

0 comments on commit 3d76ca3

Please sign in to comment.