File tree 4 files changed +13
-11
lines changed
src/main/scala/templatelib
4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 1
- version =2.7 . 5
1
+ version =3.0 . 0
2
2
style = defaultWithAlign
3
3
maxColumn = 100
4
4
@@ -15,9 +15,9 @@ align {
15
15
openParenDefnSite = false
16
16
}
17
17
18
- docstrings = JavaDoc
18
+ docstrings.style = Asterisk
19
19
20
20
rewrite {
21
21
rules = [SortImports , RedundantBraces ]
22
22
redundantBraces.maxLines = 1
23
- }
23
+ }
Original file line number Diff line number Diff line change 1
1
import com .jsuereth .sbtpgp .PgpKeys .publishSigned
2
2
3
- ThisBuild / organization := " org.scala-exercises"
3
+ ThisBuild / organization := " org.scala-exercises"
4
4
ThisBuild / githubOrganization := " 47degrees"
5
- ThisBuild / scalaVersion := " 2.13.3"
5
+ ThisBuild / scalaVersion := " 2.13.3"
6
6
7
7
// This is required by the exercises compiler:
8
- publishLocal := (publishLocal dependsOn compile).value
8
+ publishLocal := (publishLocal dependsOn compile).value
9
9
publishSigned := (publishSigned dependsOn compile).value
10
10
11
11
addCommandAlias(" ci-test" , " scalafmtCheckAll; scalafmtSbtCheck; test" )
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ import org.scalaexercises.definitions._
20
20
/**
21
21
* This is the description of the library as it will appear in the Scala Exercises website.
22
22
*
23
- * @param name template
23
+ * @param name
24
+ * template
24
25
*/
25
26
object MyLibrary extends Library {
26
27
override def owner = " scala-exercises"
Original file line number Diff line number Diff line change @@ -21,12 +21,13 @@ import org.scalaexercises.definitions._
21
21
import org .scalatest .flatspec .AnyFlatSpec
22
22
23
23
/**
24
- * @param name section_title
24
+ * @param name
25
+ * section_title
25
26
*/
26
27
object SectionA extends AnyFlatSpec with Matchers with Section {
27
28
28
29
/**
29
- * = Exercise block title =
30
+ * =Exercise block title=
30
31
*
31
32
* Text describing background about the exercise, can be as long as needed.
32
33
*
@@ -40,8 +41,8 @@ object SectionA extends AnyFlatSpec with Matchers with Section {
40
41
true shouldBe res0
41
42
42
43
/**
43
- * And obviously you can add as many documentation and exercises as you need
44
- * to make your point ;-).
44
+ * And obviously you can add as many documentation and exercises as you need to make your point
45
+ * ;-).
45
46
*/
46
47
def functionFalseAssert (res0 : Boolean ): Unit =
47
48
false shouldBe res0
You can’t perform that action at this time.
0 commit comments