Skip to content

Commit

Permalink
Move conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
borkaehw committed Jan 27, 2020
1 parent 9c387a2 commit 7988a24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scala/scalafmt/conf/.scalafmt.conf → .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ danglingParentheses = true
docstrings = JavaDoc
importSelectors = singleLine
maxColumn = 120
newlines.afterImplicitKWInVerticalMultiline = true
verticalMultiline.newlineBeforeImplicitKW = true
rewrite.redundantBraces.stringInterpolation = true
rewrite.rules = [
RedundantParens,
Expand Down
2 changes: 1 addition & 1 deletion scala/scalafmt/scalafmt_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def scalafmt_default_config(path = ".scalafmt.conf"):
build.append(" srcs = [\"{}\"],".format(path))
build.append(" visibility = [\"//visibility:public\"],")
build.append(")")
native.new_local_repository(name = "scalafmt_default", build_file_content = "\n".join(build), path = "scala/scalafmt/conf")
native.new_local_repository(name = "scalafmt_default", build_file_content = "\n".join(build), path = "")

def scalafmt_repositories(maven_servers = ["https://repo.maven.apache.org/maven2"]):
_scala_maven_import_external(
Expand Down

0 comments on commit 7988a24

Please sign in to comment.