Skip to content

Commit

Permalink
Merge pull request #138 from alejandrohdezma/feature/new-options
Browse files Browse the repository at this point in the history
Add several changes to scalafmt configuration file
  • Loading branch information
alejandrohdezma authored Jul 2, 2021
2 parents 965bad9 + 286b07b commit 87433ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ newlines {

style = defaultWithAlign

assumeStandardLibraryStripMargin = true

align {
stripMargin = true
tokens.add = [
{
code = ":=", owner = "Term.ApplyInfix"
Expand All @@ -41,7 +44,8 @@ binPack {
literalsExclude = [ "Term.Name" ]
}

docstrings = JavaDoc
docstrings.style = "SpaceAsterisk"
docstrings.oneline = fold

rewrite {
rules = [
Expand Down

0 comments on commit 87433ee

Please sign in to comment.