Skip to content

Commit fd2d11b

Browse files
Feat: Add dependencies for linting
1 parent 6789a7a commit fd2d11b

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,28 @@
9797
</excludes>
9898
</configuration>
9999
</plugin>
100+
<plugin>
101+
<groupId>org.apache.maven.plugins</groupId>
102+
<artifactId>maven-checkstyle-plugin</artifactId>
103+
<version>3.2.2</version>
104+
<configuration>
105+
<configLocation>google_checks.xml</configLocation>
106+
<linkXRef>false</linkXRef>
107+
<suppressionsLocation>
108+
src/main/resources/checkstyle-suppressions.xml
109+
</suppressionsLocation>
110+
<suppressionsFileExpression>
111+
checkstyle.suppressions.file
112+
</suppressionsFileExpression>
113+
</configuration>
114+
<executions>
115+
<execution>
116+
<goals>
117+
<goal>check</goal>
118+
</goals>
119+
</execution>
120+
</executions>
121+
</plugin>
100122
</plugins>
101123
</build>
102124

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0"?>
2+
3+
<!DOCTYPE suppressions PUBLIC
4+
"-//Puppy Crawl//DTD Suppressions 1.0//EN"
5+
"http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">
6+
7+
<suppressions>
8+
<suppress checks="Javadoc" files="."/>
9+
</suppressions>

0 commit comments

Comments
 (0)