Loading build-plugin/src/main/kotlin/SpotlessExtension.kt +7 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,13 @@ fun SpotlessExtension.configureMarkdownCheck( targets: List<String>, ) { format("markdown") { prettier() // Set the prettier version explicitly, as the default version set in Spotless is outdated. // Check https://github.com/prettier/prettier for the latest version and update the version here. prettier("3.3.3").config( mapOf( "parser" to "markdown", ) ) target(targets) targetExclude( "**/build/", Loading Loading
build-plugin/src/main/kotlin/SpotlessExtension.kt +7 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,13 @@ fun SpotlessExtension.configureMarkdownCheck( targets: List<String>, ) { format("markdown") { prettier() // Set the prettier version explicitly, as the default version set in Spotless is outdated. // Check https://github.com/prettier/prettier for the latest version and update the version here. prettier("3.3.3").config( mapOf( "parser" to "markdown", ) ) target(targets) targetExclude( "**/build/", Loading