Skip to content

Commit 5006dbc

Browse files
authored
Merge pull request #2671 from scala-steward-org/topic/organize-imports-hook
Add post-update hook for OrganizeImports
2 parents 2cb32ef + 26e7c36 commit 5006dbc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/core/src/main/resources/default.scala-steward.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
postUpdateHooks = [
2+
{
3+
groupId = "com.github.liancheng",
4+
artifactId = "organize-imports",
5+
command = ["sbt", "scalafixAll"],
6+
commitMessage = "Reorganize imports with OrganizeImports ${nextVersion}",
7+
addToGitBlameIgnoreRevs = true
8+
},
29
{
310
groupId = "com.lightbend.sbt",
411
artifactId = "sbt-java-formatter",

0 commit comments

Comments
 (0)