Skip to content

Commit

Permalink
Share same scalafmt config between airframe and airspec (#2043)
Browse files Browse the repository at this point in the history
* Share scalafmt config between root and airspec

* Bump scalafmt
  • Loading branch information
exoego committed Jan 31, 2022
1 parent 9b23ccc commit bad8bcc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
@@ -1,4 +1,4 @@
version = 3.3.3
version = 3.4.0
project.layout = StandardConvention
runner.dialect = scala213source3
maxColumn = 120
Expand Down
7 changes: 0 additions & 7 deletions airspec/.scalafmt.conf

This file was deleted.

3 changes: 3 additions & 0 deletions airspec/build.sbt
Expand Up @@ -47,6 +47,9 @@ ThisBuild / publishTo := sonatypePublishToBundle.value
ThisBuild / sonatypeProfileName := "org.wvlet"
ThisBuild / sonatypeSessionName := s"${sonatypeSessionName.value} for AirSpec"

// Share
ThisBuild / scalafmtConfig := file("../.scalafmt.conf")

val noPublish = Seq(
publish / skip := true,
publishArtifact := false,
Expand Down
Expand Up @@ -20,7 +20,6 @@ import wvlet.airspec.{AirSpecDef, AirSpecSpi}
* AirSpecContext is an interface to pass the test environment data to individual test methods.
*
* Spec: global
* -
*/
trait AirSpecContext {
def hasChildTask: Boolean
Expand Down

0 comments on commit bad8bcc

Please sign in to comment.