diff --git a/.scalafix.conf b/.scalafix.conf new file mode 100644 index 0000000..a41d1f9 --- /dev/null +++ b/.scalafix.conf @@ -0,0 +1,16 @@ +rules = [ + ExplicitResultTypes, + RemoveUnused +] + +ExplicitResultTypes.rewriteStructuralTypesToNamedSubclass = false + +OrganizeImports.groupedImports = Explode +OrganizeImports.expandRelative = true +OrganizeImports.removeUnused = true +OrganizeImports.groups = [ + "re:javax?\\." + "scala." + "lspexample." + "*" +] \ No newline at end of file diff --git a/pom.xml b/pom.xml index 745a714..2d049a2 100644 --- a/pom.xml +++ b/pom.xml @@ -168,6 +168,11 @@ + + io.github.evis + scalafix-maven-plugin_2.13 + 0.1.8_0.11.0 + net.alchim31.maven @@ -182,6 +187,7 @@ + -Ywarn-unused -dependencyfile ${project.build.directory}/.scala_dependencies @@ -190,7 +196,13 @@ -Xms512m -Xmx4096m - + + + org.scalameta + semanticdb-scalac_2.13.12 + 4.8.14 + +