Nomad changes
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s

This commit is contained in:
Henrik Jess Nielsen
2026-06-01 23:40:55 +02:00
parent 72b1a0a6ed
commit b4c07d3693
5723 changed files with 1130655 additions and 0 deletions

57
packages/java/checkstyle.xml generated Normal file
View File

@@ -0,0 +1,57 @@
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<!-- Checkstyle handles correctness checks only. Spotless handles all formatting. -->
<module name="Checker">
<property name="charset" value="UTF-8"/>
<property name="severity" value="error"/>
<property name="fileExtensions" value="java"/>
<module name="SuppressionFilter">
<property name="file" value="checkstyle-suppressions.xml"/>
<property name="optional" value="true"/>
</module>
<module name="LineLength">
<!-- 200 accommodates the alef-emitted DefaultClient.java FFM call shims:
the codegen chains arena allocation, MemorySegment marshalling, and
error-result handling onto single lines that don't reflow cleanly.
Tests and hand-written code stay well below this; the limit only
gives the generator headroom. -->
<property name="max" value="200"/>
<property name="ignorePattern" value="^package.*|^import.*|a]href|href|http://|https://|ftp://"/>
</module>
<module name="TreeWalker">
<!-- Naming Conventions (relaxed for FFI snake_case from Rust) -->
<module name="ConstantName">
<property name="format" value="^([A-Z][A-Z0-9]*(_[A-Z0-9]+)*|[a-z][a-zA-Z0-9_]*)$"/>
</module>
<module name="PackageName"/>
<module name="TypeName"/>
<!-- Modifier Checks -->
<module name="ModifierOrder"/>
<module name="RedundantModifier"/>
<!-- Imports -->
<module name="UnusedImports"/>
<!-- Coding -->
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<!-- Size Violations -->
<module name="MethodLength">
<property name="max" value="150"/>
</module>
<!-- Misc -->
<module name="ArrayTypeStyle"/>
<module name="UpperEll"/>
</module>
</module>