Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hackertronix committed Aug 9, 2024
1 parent b02f7fe commit d028793
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,24 @@ This rule reports `!!` usage. `requireNotNull` should be used instead.
### TodoPattern

Reports when TODO comment does not match a pattern. Default pattern is `// TODO(.+): .*`.


### NewLineAfterSuperCall

This rule reports if an override function does not have a new line after the super call.

For example this is incorrect:
```kotlin
override fun foo() {
super.foo()
bar.bazinga()
}
```
Instead it should be:
```kotlin
override fun foo() {
super.foo()

bar.bazinga()
}
```

0 comments on commit d028793

Please sign in to comment.