Skip to content

Commit

Permalink
chore: create local linter
Browse files Browse the repository at this point in the history
  • Loading branch information
markkovari committed Jul 11, 2024
1 parent b90193a commit 61730b0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
Empty file modified backend/mvnw
100644 → 100755
Empty file.
33 changes: 26 additions & 7 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@
<artifactId>modelmapper</artifactId>
<version>3.2.0</version>
</dependency>

<!-- <dependency>-->
<!-- <groupId>commons-validator</groupId>-->
<!-- <artifactId>commons-validator</artifactId>-->
<!-- <version>1.9.0</version>-->
<!-- </dependency>-->

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
Expand Down Expand Up @@ -105,7 +98,33 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<configLocation>google_checks.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<sourceDirectories>
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
<sourceDirectory>${project.basedir}/src/test/java</sourceDirectory>
</sourceDirectories>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

</build>

</project>

0 comments on commit 61730b0

Please sign in to comment.