diff options
author | Stewart Stewart <stewinsalot@gmail.com> | 2017-09-22 18:22:58 -0700 |
---|---|---|
committer | Stewart Stewart <stewinsalot@gmail.com> | 2017-09-22 18:34:11 -0700 |
commit | fbb85ad4ba79c74544d6c804bbbf0a7ef350b113 (patch) | |
tree | d196723bc77eec582bcb7cb203041c12cf1c70ac /.scalafmt.conf | |
parent | 94e2a082467c5fbf70490c33ebe25ca6d2318b8e (diff) | |
download | slick-codegen-plugin-fbb85ad4ba79c74544d6c804bbbf0a7ef350b113.tar.gz slick-codegen-plugin-fbb85ad4ba79c74544d6c804bbbf0a7ef350b113.tar.bz2 slick-codegen-plugin-fbb85ad4ba79c74544d6c804bbbf0a7ef350b113.zip |
use Driver linting/formatting/style settings
Diffstat (limited to '.scalafmt.conf')
-rw-r--r-- | .scalafmt.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 0000000..8a5d14f --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,29 @@ +# scalafmt sbt plugin config +# refer to https://olafurpg.github.io/scalafmt/#Configuration for properties + +project.git = true + +style = defaultWithAlign +maxColumn = 120 + +docstrings = ScalaDoc + +continuationIndent.callSite = 2 +continuationIndent.defnSite = 8 + +rewriteTokens: { + "⇒" = "=>" + "←" = "<-" +} +danglingParentheses = false +align.arrowEnumeratorGenerator = true +align.openParenCallSite = true +spaces.afterTripleEquals = true +spaces.inImportCurlyBraces = false +newlines.alwaysBeforeCurlyBraceLambdaParams = false +newlines.sometimesBeforeColonInMethodReturnType = false +binPack.parentConstructors = true +assumeStandardLibraryStripMargin = true + +# align.openParenCallSite = <value> +# align.openParenDefnSite = <value> |