Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Typo in `scalacOptions`
  • Loading branch information
hmemcpy authored Jan 31, 2024
1 parent 79f81ef commit 5efdb98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Create a file `clippy.sbt` in your global sbt directory, `~/.sbt/1.0`. You can s
To render the original type mismatch error in addition to the plugin output, add the following flag to your `scalacOptions`:

```scala
scalaOptions += "-P:clippy:show-original-error"
scalacOptions += "-P:clippy:show-original-error"
```
![](.github/img/full-error.png)

Expand All @@ -65,7 +65,7 @@ scalaOptions += "-P:clippy:show-original-error"
ZIO Clippy support additional, *ZIO-like* types when parsing type mismatch errors. Any type that has 3 type parameters (e.g. `org.company.Saga[R, E, A]`) can be specified. To enable, provide a comma-separated *fully-qualified* list of names to the following option:

```scala
scalaOptions += "-P:clippy:additional-types:zio.flow.ZFlow,org.company.Saga"
scalacOptions += "-P:clippy:additional-types:zio.flow.ZFlow,org.company.Saga"
```

## Technical information
Expand Down

0 comments on commit 5efdb98

Please sign in to comment.