Skip to content

Commit

Permalink
Fixed #54 - if getValue is declared as an extension method ktlint t…
Browse files Browse the repository at this point in the history
…hinks its unused
  • Loading branch information
shyiko committed Jun 6, 2017
1 parent af916a0 commit d8a8c7a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ class NoUnusedImportsRule : Rule("no-unused-imports") {
// comparison
"compareTo",
// iteration (https://github.com/shyiko/ktlint/issues/40)
"iterator"
"iterator",
// by (https://github.com/shyiko/ktlint/issues/54)
"getValue"
)
private val ref = mutableSetOf("*")
private var packageName = ""
Expand Down

0 comments on commit d8a8c7a

Please # to comment.