SpotlessWorker
mill.scalalib.spotless.SpotlessWorker
trait SpotlessWorker extends AutoCloseable
Attributes
- Source
- SpotlessWorker.scala
- Graph
-
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
@Scaladoc(value = "/**\n * Checks/fixes formatting in module files.\n * @param check If set, an error is raised on format errors. Otherwise, formatting is fixed.\n */")
Checks/fixes formatting in module files.
Checks/fixes formatting in module files.
Value parameters
- check
-
If set, an error is raised on format errors. Otherwise, formatting is fixed.
Attributes
- Source
- SpotlessWorker.scala
@Scaladoc(value = "/**\n * Resolves and returns artifacts required for formatting.\n */")
Resolves and returns artifacts required for formatting.
@Scaladoc(value = "/**\n * Checks/fixes formatting in `files` that differ in 2 Git trees.\n * @param check If set, an error is raised on format errors. Otherwise, formatting is fixed.\n * @param from Revision to compare against.\n * @param to Revision to compare. When empty,\n * - index tree is used, if `staged` is set\n * - working tree is used, otherwise\n */")
Checks/fixes formatting in files
that differ in 2 Git trees.
Checks/fixes formatting in files
that differ in 2 Git trees.
Value parameters
- check
-
If set, an error is raised on format errors. Otherwise, formatting is fixed.
- from
-
Revision to compare against.
- to
-
Revision to compare. When empty, - index tree is used, if
staged
is set - working tree is used, otherwise
Attributes
- Source
- SpotlessWorker.scala
Inherited and Abstract methods
Attributes
- Inherited from:
- AutoCloseable
In this article