Skip to content

Commit

Permalink
Add "UnusedImport" as @Suppress alias for "ktlint:standard:no-unused-…
Browse files Browse the repository at this point in the history
…import" (#2357)
  • Loading branch information
paul-dingemans authored Nov 16, 2023
1 parent 05aa8a0 commit 77ccdd4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ internal object SuppressionLocatorBuilder {
"FunctionName" to "standard:function-naming",
"PackageName" to "standard:package-name",
"PropertyName" to "standard:property-naming",
"UnusedImport" to "standard:no-unused-imports",
)
private val SUPPRESS_ANNOTATIONS = setOf("Suppress", "SuppressWarnings")
private const val ALL_KTLINT_RULES_SUPPRESSION_ID = "ktlint:suppress-all-rules"
Expand Down

0 comments on commit 77ccdd4

Please sign in to comment.