all: remove prettier from Spotless and reformat XML

This commit is contained in:
Harsh Shandilya 2021-09-23 20:07:14 +05:30
parent 8e243359ab
commit ffcb270013
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
12 changed files with 41 additions and 67 deletions

View file

@ -35,12 +35,6 @@ configure<com.diffplug.gradle.spotless.SpotlessExtension> {
target("**/*.gradle.kts")
ktfmt("0.28").googleStyle()
}
format("xml") {
target("**/*.xml")
targetExclude("**/build/**", ".idea/**")
prettier(mapOf("prettier" to "2.3.2", "@prettier/plugin-xml" to "1.0.2"))
.config(mapOf("parser" to "xml", "tabWidth" to 2))
}
}
allprojects {