Skip to content

Commit

Permalink
chore: revert and ignore errors in linting example
Browse files Browse the repository at this point in the history
  • Loading branch information
myyk committed Nov 7, 2024
1 parent be514d9 commit 77ace32
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ newlines.source = keep
project.git = true

runner.dialect = scala213

project {
excludePaths = [
"glob:**/example/scalalib/linting/1-scalafmt/src/Foo.scala"
]
}
9 changes: 7 additions & 2 deletions example/scalalib/linting/1-scalafmt/src/Foo.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
package foo
object Foo {
def main(args: Array[String]): Unit = { println("hello world") }
object Foo{
def main(args:
Array[String
]
):Unit=
{println("hello world")
}
}

0 comments on commit 77ace32

Please sign in to comment.