mill.javalib.spotless

Members list

Type members

Classlikes

class Cleaners(moduleDir: Path, globalExcludes: Seq[String], formats: Seq[Format], provisioner: Provisioner)

Attributes

Source
Cleaners.scala
Supertypes
class Object
trait Matchable
class Any
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.

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
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Format

Attributes

Companion
class
Source
Format.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Format.type
class GitRatchet(root: Path) extends AutoCloseable

Attributes

See also
Source
GitRatchet.scala
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any

Enables formatting files using Spotless.

Enables formatting files using Spotless.

Attributes

See also
Note

Any third party artifacts required by Spotless are resolved using defaultResolver as "runtime" dependencies.

Companion
object
Source
SpotlessModule.scala
Supertypes
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Source
SpotlessModule.scala
Supertypes
class RootModule0
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Self type
trait SpotlessWorker extends AutoCloseable

Attributes

Source
SpotlessWorker.scala
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
class SpotlessWorkerImpl(cleaners: Cleaners, git: GitRatchet) extends SpotlessWorker

Attributes

Source
SpotlessWorkerImpl.scala
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
class ToFormatterStep(charset: Charset, provisioner: Provisioner) extends Step => FormatterStep

Attributes

Source
converters.scala
Supertypes
trait Step => FormatterStep
class Object
trait Matchable
class Any

Value members

Concrete methods

def toDependencies(mavenCoordinates: Collection[String]): Seq[Dependency]

Attributes

Source
converters.scala
def toLintSuppression(suppress: Suppress): LintSuppression

Attributes

Source
converters.scala
def toProvisioner(resolver: Resolver)(using TaskCtx): Provisioner

Attributes

Source
converters.scala

Inherited fields

Attributes

Inherited from:
Alias
Source
ExternalModule.scala