Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldickson authored Oct 23, 2024
1 parent c762648 commit e283b3e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,19 @@ Use `-o <filename>` on output lint result created by command `dart analyze > <fi
Use `--output <filename>` to output lint result to file and `--reporter json` to format logs as JSON.
(_[ref.](https://github.com/realm/SwiftLint#command-line)_)

#### Kotlin Detekt
In gradle config
(_[ref.](https://detekt.dev/docs/gettingstarted/gradle#reports)_)

```kotlin
tasks.named("detekt").configure {
reports {
// Enable/Disable SARIF report (default: false)
sarif.required.set(true)
sarif.outputLocation.set(file("build/reports/detekt.sarif"))
}
}
```

### Contribute
For contribution guidelines and project dev setup. Please see [CONTRIBUTING.md](CONTRIBUTING.md)

0 comments on commit e283b3e

Please sign in to comment.