Skip to content

Commit 1899bb0

Browse files
committed
Disable trimTrailingWhitespace for md files
1 parent 676a069 commit 1899bb0

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ charset = utf-8
1111
[*.md]
1212
indent_style = space
1313
indent_size = 2
14+
trim_trailing_whitespace = false
1415

1516
[*.java]
1617
# Doc: https://youtrack.jetbrains.com/issue/IDEA-170643#focus=streamItem-27-3708697.0-0

gradle/spotless-freshmark.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Action<FreshMarkExtension> freshmarkSetup = {
1111
it.put('no', ':white_large_square:')
1212
}
1313
it.indentWithSpaces(2)
14-
it.trimTrailingWhitespace()
1514
it.endWithNewline()
1615
}
1716

plugin-gradle/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ spotless {
105105
106106
format 'misc', {
107107
// define the files to apply `misc` to
108-
target '*.gradle', '*.md', '.gitignore'
108+
target '*.gradle', '.gitattributes', '.gitignore'
109109
110110
// define the steps to apply to those files
111111
trimTrailingWhitespace()

plugin-maven/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ To use it in your pom, just [add the Spotless dependency](https://search.maven.o
8888
<format>
8989
<!-- define the files to apply to -->
9090
<includes>
91-
<include>*.md</include>
91+
<include>.gitattributes</include>
9292
<include>.gitignore</include>
9393
</includes>
9494
<!-- define the steps to apply to those files -->

0 commit comments

Comments
 (0)