Skip to content

Commit d6eea26

Browse files
Run spotless before prettier
1 parent 8bec063 commit d6eea26

2 files changed

Lines changed: 19 additions & 18 deletions

File tree

application/src/main/java/org/opentripplanner/routing/api/request/RequestModesBuilder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.opentripplanner.routing.api.request;
22

3-
43
public class RequestModesBuilder {
54

65
private StreetMode accessMode;

pom.xml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,24 @@
292292
</configuration>
293293
</plugin>
294294

295+
<plugin>
296+
<groupId>com.diffplug.spotless</groupId>
297+
<artifactId>spotless-maven-plugin</artifactId>
298+
<executions>
299+
<execution>
300+
<phase>validate</phase>
301+
<goals>
302+
<goal>apply</goal>
303+
</goals>
304+
</execution>
305+
</executions>
306+
<configuration>
307+
<java>
308+
<removeUnusedImports/>
309+
</java>
310+
</configuration>
311+
</plugin>
312+
295313
<plugin>
296314
<groupId>com.hubspot.maven.plugins</groupId>
297315
<artifactId>prettier-maven-plugin</artifactId>
@@ -313,23 +331,7 @@
313331
</executions>
314332
</plugin>
315333

316-
<plugin>
317-
<groupId>com.diffplug.spotless</groupId>
318-
<artifactId>spotless-maven-plugin</artifactId>
319-
<executions>
320-
<execution>
321-
<phase>compile</phase>
322-
<goals>
323-
<goal>apply</goal>
324-
</goals>
325-
</execution>
326-
</executions>
327-
<configuration>
328-
<java>
329-
<removeUnusedImports/>
330-
</java>
331-
</configuration>
332-
</plugin>
334+
333335

334336
<plugin>
335337
<groupId>com.google.cloud.tools</groupId>

0 commit comments

Comments
 (0)