mill.scalalib.spotless
package mill.scalalib.spotless
Members list
Type members
Classlikes
@Scaladoc(value = "/**\n * A specification for selecting files and the corresponding format steps to be applied.\n * @param steps Format steps to apply.\n * @param includes Path matcher patterns for files to format.\n * @param excludes Path matcher patterns for files to exclude from formatting.\n * @param lineEnding Name of line endings in files.\n * @param encoding Name of charset used for encoding files.\n * @param suppressions Lints to suppress.\n * @note Use with [[Format.RelPathRef.withDynamicRoot]] to configure any relative references.\n * @see\n * - [[https://github.com/diffplug/spotless/blob/main/lib/src/main/java/com/diffplug/spotless/Formatter.java Formatter]]\n * - [[https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/FileSystem.html#getPathMatcher(java.lang.String) Path matcher pattern]]\n * - [[https://github.com/diffplug/spotless/tree/main/plugin-gradle#line-endings-and-encodings-invisible-stuff Line endings and encodings]]\n */")
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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Format
Attributes
- Companion
- class
- Source
- Format.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Format.type
@Scaladoc(value = "/**\n * Enables formatting files using [[https://github.com/diffplug/spotless Spotless]].\n * @note Any third party artifacts required by Spotless are resolved using [[defaultResolver]]\n * as \"runtime\" dependencies.\n * @see\n * - [[spotlessFormats]]\n * - [[spotless]]\n * - [[ratchet]]\n */")
trait SpotlessModule extends CoursierModule, OfflineSupportModule
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 OfflineSupportModuletrait CoursierModuletrait Moduletrait ModuleApitrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object SpotlessModule
object SpotlessModule extends ExternalModule, TaskModule, SpotlessModule
Attributes
- Companion
- trait
- Source
- SpotlessModule.scala
- Supertypes
-
trait SpotlessModuletrait OfflineSupportModuletrait CoursierModuletrait TaskModuleclass ExternalModuleclass BaseModuletrait BaseModuleApitrait Moduletrait ModuleApitrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass AnyShow all
- Self type
-
SpotlessModule.type
trait SpotlessWorker extends AutoCloseable
Attributes
- Source
- SpotlessWorker.scala
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
Value members
Inherited fields
Attributes
- Inherited from:
- Alias
- Source
- ExternalModule.scala
In this article