Format

mill.javalib.spotless.Format
See theFormat companion object
case class Format(steps: Seq[Step], includes: Seq[String], excludes: Seq[String] = ..., lineEnding: String = ..., encoding: String = ..., suppressions: Seq[Suppress] = ...)

A specification for selecting files and the corresponding format steps to be applied.

Value parameters

encoding

Name of charset used for encoding files.

excludes

Path matcher patterns for files to exclude from formatting.

includes

Path matcher patterns for files to format.

lineEnding

Name of line endings in files.

steps

Format steps to apply.

suppressions

Lints to suppress.

Attributes

See also
Note

Use with Format.RelPathRef.withDynamicRoot to configure any relative references.

Companion
object
Source
Format.scala
Graph
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala