Skip to content

Commit

Permalink
Updates scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpedromoreno committed Jun 29, 2020
1 parent 9ae56ec commit 4194f4a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=2.5.3
version=2.6.1
style = defaultWithAlign
maxColumn = 100

Expand Down
15 changes: 10 additions & 5 deletions runtime/src/main/scala/org/scalaexercises/exercises/model.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ package model

// This is the exercise runtime metamodel

/** An exercise library.
/**
* An exercise library.
*/
trait Library {
def owner: String
Expand All @@ -34,14 +35,16 @@ trait Library {
def buildMetaInfo: BuildInfo
}

/** Library Build Metadata Information
/**
* Library Build Metadata Information
*/
trait BuildInfo {
def resolvers: List[String]
def libraryDependencies: List[String]
}

/** A section in a library.
/**
* A section in a library.
*/
trait Section {
def name: String
Expand All @@ -52,7 +55,8 @@ trait Section {
def contributions: List[Contribution]
}

/** A contribution to a section.
/**
* A contribution to a section.
*/
trait Contribution {
def sha: String
Expand All @@ -64,7 +68,8 @@ trait Contribution {
def avatarUrl: String
}

/** Exercises within a section.
/**
* Exercises within a section.
*/
trait Exercise {
def name: String
Expand Down

0 comments on commit 4194f4a

Please sign in to comment.