aboutsummaryrefslogtreecommitdiff
path: root/.scalafmt.conf
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-08-08 12:05:28 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-08-08 12:05:28 +0100
commita42d3883f110831440f2d85977e9251c4a22541a (patch)
tree740b333cdccda5c468dfda1abbcc6f1e332f992b /.scalafmt.conf
parent39d552f1478977242b4cc09c834ccae9c3281299 (diff)
downloadspacebeans-a42d3883f110831440f2d85977e9251c4a22541a.tar.gz
spacebeans-a42d3883f110831440f2d85977e9251c4a22541a.zip
Updated dependencies and scalafmt
Diffstat (limited to '.scalafmt.conf')
-rw-r--r--.scalafmt.conf15
1 files changed, 14 insertions, 1 deletions
diff --git a/.scalafmt.conf b/.scalafmt.conf
index dd18323..efea3b4 100644
--- a/.scalafmt.conf
+++ b/.scalafmt.conf
@@ -1 +1,14 @@
-version = 2.5.2
+version = 3.7.12
+runner.dialect = scala213
+
+align.preset = some
+maxColumn = 120
+newlines.beforeCurlyLambdaParams = multilineWithCaseOnly
+
+rewrite.rules = [Imports]
+rewrite.imports.sort = original
+rewrite.imports.groups = [
+ ["java\\..*", "javax\\..*"],
+ ["scala\\..*"],
+ ["net\\.usebox\\..*"]
+]