diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 000000000..fb2e2764b --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Scala Steward: Reformat with scalafmt 3.7.14 +b3074ccc47b8f119881b5682f5a1e2878184dfe6 diff --git a/.scalafmt.conf b/.scalafmt.conf index 05fae5991..8e95df626 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.7.4 +version = 3.7.14 runner.dialect = scala213source3 project.git = true style = Scala.js diff --git a/dom/src/main/scala/org/scalajs/dom/Gamepad.scala b/dom/src/main/scala/org/scalajs/dom/Gamepad.scala index 219c971e8..e0b80dc40 100644 --- a/dom/src/main/scala/org/scalajs/dom/Gamepad.scala +++ b/dom/src/main/scala/org/scalajs/dom/Gamepad.scala @@ -23,8 +23,7 @@ trait Gamepad extends js.Any { /** Last time the data for this gamepad was updated. */ val timestamp: Double - /** An array containing the state of all of the gamepad's axes, from - * -1 .. 1. + /** An array containing the state of all of the gamepad's axes, from -1 .. 1. */ val axes: js.Array[Double] diff --git a/dom/src/main/scala/org/scalajs/dom/HTMLMediaElement.scala b/dom/src/main/scala/org/scalajs/dom/HTMLMediaElement.scala index 524c56108..4cf06816b 100644 --- a/dom/src/main/scala/org/scalajs/dom/HTMLMediaElement.scala +++ b/dom/src/main/scala/org/scalajs/dom/HTMLMediaElement.scala @@ -81,9 +81,8 @@ abstract class HTMLMediaElement extends HTMLElement { /** true if the audio is muted, and false otherwise. */ var muted: Boolean = js.native - /** The default playback rate for the media. 1.0 is "normal speed," values lower than - * 1.0 make the media play slower than normal, higher values make it play faster. The value 0.0 is invalid and throws - * a NOT_SUPPORTED_ERR exception. + /** The default playback rate for the media. 1.0 is "normal speed," values lower than 1.0 make the media play slower + * than normal, higher values make it play faster. The value 0.0 is invalid and throws a NOT_SUPPORTED_ERR exception. */ var defaultPlaybackRate: Double = js.native diff --git a/dom/src/main/scala/org/scalajs/dom/HTMLTableElement.scala b/dom/src/main/scala/org/scalajs/dom/HTMLTableElement.scala index de6719454..25df6012e 100644 --- a/dom/src/main/scala/org/scalajs/dom/HTMLTableElement.scala +++ b/dom/src/main/scala/org/scalajs/dom/HTMLTableElement.scala @@ -52,9 +52,9 @@ abstract class HTMLTableElement extends HTMLElement { */ var tHead: HTMLTableSectionElement = js.native - /** Removes the row corresponding to the index given in parameter. If the index value is - * -1 the last row is removed; if it smaller than -1 or greater than the amount of rows in the collection, a - * DOMException with the value IndexSizeError is raised. + /** Removes the row corresponding to the index given in parameter. If the index value is -1 the last row is removed; + * if it smaller than -1 or greater than the amount of rows in the collection, a DOMException with the value + * IndexSizeError is raised. */ def deleteRow(index: Int): Unit = js.native