case class FormattingOptions(tabSize: uinteger, insertSpaces: Boolean, trimTrailingWhitespace: Opt[Boolean], insertFinalNewline: Opt[Boolean], trimFinalNewlines: Opt[Boolean])
Value-object describing what options formatting should use.
- Value parameters:
- insertFinalNewline
Insert a newline character at the end of the file if one does not exist.
- insertSpaces
Prefer spaces over tabs.
- tabSize
Size of a tab in spaces.
- trimFinalNewlines
Trim all newlines after the final newline at the end of the file.
- trimTrailingWhitespace
Trim trailing whitespace on a line.
- Since:
3.15.0
- Companion:
- object
- Source:
- structures.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any