Skip to content

Commit 1abb783

Browse files
committed
feat(build): Allow Markdown line break formatting
1 parent 3728e28 commit 1abb783

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

gradle/spotless.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,16 @@ spotless {
5959
}
6060
}
6161

62+
format 'markdown', {
63+
toggleOffOn()
64+
target '*.md', '.github/**/*.md', 'src/**/*.md', 'application/**/*.md'
65+
indentWithSpaces()
66+
endWithNewline()
67+
}
68+
6269
format 'misc', {
6370
toggleOffOn()
64-
target '.gitignore', '*.md', '.github/**/*.md', 'src/**/*.md', 'application/**/*.md', '*.sh', 'tooling/*.sh', '.circleci/*.sh'
71+
target '.gitignore', '*.sh', 'tooling/*.sh', '.circleci/*.sh'
6572
indentWithSpaces()
6673
trimTrailingWhitespace()
6774
endWithNewline()

0 commit comments

Comments
 (0)