spotless icon indicating copy to clipboard operation
spotless copied to clipboard

SpottlessApply runs forever

Open P1tt187 opened this issue 4 months ago • 0 comments

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()
}

P1tt187 avatar Jun 12 '25 08:06 P1tt187