spotless
spotless copied to clipboard
SpottlessApply runs forever
I use the gradle spotless plugin. Since version 7.0.4 calls to prettier are never terminated. With version 7.0.3 the problem is not reproducible.
format("yaml") {
target("**/*.yaml", "**/*.yml")
targetExclude("**/specs/external/*.yaml", "**/specs/external/*.yml")
prettier()
.npmrc("${rootDir}/.npmrc")
.config(mapOf("singleQuote" to true, "proseWrap" to "always"))
// Configuration from .editorconfig
trimTrailingWhitespace()
leadingTabsToSpaces(2)
endWithNewline()
}