File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
main/java/com/diffplug/gradle/spotless
test/java/com/diffplug/gradle/spotless Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ public FlexmarkExtension(SpotlessExtension spotless) {
30
30
super (spotless );
31
31
}
32
32
33
- public FlexmarkFormatterConfig flexmarkFormatter () {
34
- return flexmarkFormatter (FlexmarkStep .defaultVersion ());
33
+ public FlexmarkFormatterConfig flexmark () {
34
+ return flexmark (FlexmarkStep .defaultVersion ());
35
35
}
36
36
37
- public FlexmarkFormatterConfig flexmarkFormatter (String version ) {
37
+ public FlexmarkFormatterConfig flexmark (String version ) {
38
38
return new FlexmarkFormatterConfig (version );
39
39
}
40
40
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ void integration() throws IOException {
31
31
"spotless {" ,
32
32
" flexmark {" ,
33
33
" target '*.md'" ,
34
- " flexmarkFormatter ()" ,
34
+ " flexmark ()" ,
35
35
" }" ,
36
36
"}" );
37
37
setFile ("markdown_test.md" ).toResource ("markdown/flexmark/FlexmarkUnformatted.md" );
You can’t perform that action at this time.
0 commit comments