summaryrefslogtreecommitdiff
path: root/buildstuffs/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--buildstuffs/src/main/resources/lv/enes/buildstuffs/checkstyle-suppressions.xml5
-rw-r--r--buildstuffs/src/main/resources/lv/enes/buildstuffs/checkstyle.xml8
-rw-r--r--buildstuffs/src/main/resources/lv/enes/buildstuffs/pmd-rules.xml4
-rw-r--r--buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml46
4 files changed, 10 insertions, 53 deletions
diff --git a/buildstuffs/src/main/resources/lv/enes/buildstuffs/checkstyle-suppressions.xml b/buildstuffs/src/main/resources/lv/enes/buildstuffs/checkstyle-suppressions.xml
index dbf0b1f..2afc30d 100644
--- a/buildstuffs/src/main/resources/lv/enes/buildstuffs/checkstyle-suppressions.xml
+++ b/buildstuffs/src/main/resources/lv/enes/buildstuffs/checkstyle-suppressions.xml
@@ -1,11 +1,12 @@
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- 2<!--
3 SPDX-License-Identifier: AGPL-3.0-or-later 3 SPDX-License-Identifier: EUPL-1.2
4 SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com> 4 SPDX-FileCopyrightText: 2025-2026 Uko Kokņevičs <perkontevs@gmail.com>
5 --> 5 -->
6<!DOCTYPE suppressions PUBLIC 6<!DOCTYPE suppressions PUBLIC
7 "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN" 7 "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
8 "https://checkstyle.org/dtds/suppressions_1_2.dtd"> 8 "https://checkstyle.org/dtds/suppressions_1_2.dtd">
9<suppressions> 9<suppressions>
10 <suppress files="[/\\]target[/\\]generated-sources[/\\]" checks=".*"/> 10 <suppress files="[/\\]target[/\\]generated-sources[/\\]" checks=".*"/>
11 <suppress files="[/\\]it-.*[/\\]archetype.properties" checks=".*"/>
11</suppressions> 12</suppressions>
diff --git a/buildstuffs/src/main/resources/lv/enes/buildstuffs/checkstyle.xml b/buildstuffs/src/main/resources/lv/enes/buildstuffs/checkstyle.xml
index 6680d5d..59c240f 100644
--- a/buildstuffs/src/main/resources/lv/enes/buildstuffs/checkstyle.xml
+++ b/buildstuffs/src/main/resources/lv/enes/buildstuffs/checkstyle.xml
@@ -1,7 +1,7 @@
1<?xml version="1.0"?> 1<?xml version="1.0"?>
2<!-- 2<!--
3 SPDX-License-Identifier: AGPL-3.0-or-later 3 SPDX-License-Identifier: EUPL-1.2
4 SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com> 4 SPDX-FileCopyrightText: 2025-2026 Uko Kokņevičs <perkontevs@gmail.com>
5 --> 5 -->
6<!DOCTYPE module PUBLIC 6<!DOCTYPE module PUBLIC
7 "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" 7 "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
@@ -37,7 +37,9 @@
37 <!-- ## Annotations ## --> 37 <!-- ## Annotations ## -->
38 <module name="AnnotationLocation" /> 38 <module name="AnnotationLocation" />
39 <!-- NO AnnotationOnSameLine --> 39 <!-- NO AnnotationOnSameLine -->
40 <module name="AnnotationUseStyle" /> 40 <module name="AnnotationUseStyle">
41 <property name="trailingArrayComma" value="ignore"/>
42 </module>
41 <module name="MissingDeprecated" /> 43 <module name="MissingDeprecated" />
42 <module name="MissingOverride" /> 44 <module name="MissingOverride" />
43 <module name="PackageAnnotation" /> 45 <module name="PackageAnnotation" />
diff --git a/buildstuffs/src/main/resources/lv/enes/buildstuffs/pmd-rules.xml b/buildstuffs/src/main/resources/lv/enes/buildstuffs/pmd-rules.xml
index 7cc91f5..7ba252b 100644
--- a/buildstuffs/src/main/resources/lv/enes/buildstuffs/pmd-rules.xml
+++ b/buildstuffs/src/main/resources/lv/enes/buildstuffs/pmd-rules.xml
@@ -1,7 +1,7 @@
1<?xml version="1.0"?> 1<?xml version="1.0"?>
2<!-- 2<!--
3 SPDX-License-Identifier: AGPL-3.0-or-later 3 SPDX-License-Identifier: EUPL-1.2
4 SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com> 4 SPDX-FileCopyrightText: 2025-2026 Uko Kokņevičs <perkontevs@gmail.com>
5 --> 5 -->
6<ruleset name="Custom Rules" 6<ruleset name="Custom Rules"
7 xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" 7 xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
diff --git a/buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml b/buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml
deleted file mode 100644
index 65f2d8d..0000000
--- a/buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml
+++ /dev/null
@@ -1,46 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 SPDX-License-Identifier: AGPL-3.0-or-later
4 SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com>
5 -->
6<FindBugsFilter xmlns="https://github.com/spotbugs/filter/4.8.4"
7 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8 xsi:schemaLocation="https://github.com/spotbugs/filter/4.8.4
9 https://raw.githubusercontent.com/spotbugs/spotbugs/4.8.4/spotbugs/etc/findbugsfilter.xsd">
10 <!-- Auto-generated -->
11 <Match>
12 <Source name="HelpMojo.java" />
13 </Match>
14
15 <!-- Finalizer attacks... Don't use finalizers. -->
16 <Match>
17 <Bug pattern="CT_CONSTRUCTOR_THROW" />
18 </Match>
19
20 <!-- Malicious code vulnerabilities. Why are you running untrusted code? -->
21 <Match>
22 <Or>
23 <Bug pattern="EI_EXPOSE_REP" />
24 <Bug pattern="EI_EXPOSE_REP2" />
25 <Bug pattern="MS_EXPOSE_REP" />
26 </Or>
27 </Match>
28
29 <!-- This is a good check but Lombok's @Getter(lazy=true) generates code violating it :/ -->
30 <Match>
31 <Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER" />
32 </Match>
33
34 <!-- Nullness should get caught by checkerframework. Silencing here because Lombok generates them. -->
35 <Match>
36 <Or>
37 <Bug code="RCN" />
38 <Bug pattern="NP_NONNULL_RETURN_VIOLATION" />
39 </Or>
40 </Match>
41
42 <!-- Catch fallthrough with other tools which allow annotating accepted cases more easily -->
43 <Match>
44 <Bug pattern="SF_SWITCH_FALLTHROUGH" />
45 </Match>
46</FindBugsFilter>