Archived
Add coding standards and quality enforcement tooling
- docs/coding-standards.md: Comprehensive Java coding standards - CLAUDE.md: AI assistant instructions for the project - .editorconfig: Editor configuration for consistent formatting - pom.xml: Updated with quality plugins (Checkstyle, SpotBugs, PMD, JaCoCo) - config/checkstyle/: Checkstyle configuration (Google Java Style based) - config/spotbugs/: SpotBugs exclusions - config/pmd/: PMD ruleset - .githooks/pre-commit: Pre-commit hook for local quality checks - .github/workflows/lint.yml: CI workflow for automated quality checks - docs/development.md: Updated for Java/Maven toolchain Quality enforcement: - Checkstyle runs on validate phase - SpotBugs and PMD run on verify phase - JaCoCo enforces 80% line coverage, 70% branch coverage - Pre-commit hook runs all checks before allowing commits - CI runs all checks on push and PR Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cf750b6eb5
commit
3c09ea978d
12 files changed
+2241
-92
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE suppressions PUBLIC
|
||||
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
|
||||
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
|
||||
|
||||
<suppressions>
|
||||
<!-- Suppress Javadoc requirements for test classes -->
|
||||
<suppress checks="MissingJavadocType" files=".*Test\.java$"/>
|
||||
<suppress checks="MissingJavadocMethod" files=".*Test\.java$"/>
|
||||
<suppress checks="JavadocMethod" files=".*Test\.java$"/>
|
||||
<suppress checks="JavadocType" files=".*Test\.java$"/>
|
||||
|
||||
<!-- Suppress magic number checks in tests -->
|
||||
<suppress checks="MagicNumber" files=".*Test\.java$"/>
|
||||
|
||||
<!-- Allow longer lines in test files -->
|
||||
<suppress checks="LineLength" files=".*Test\.java$"/>
|
||||
|
||||
<!-- Suppress for generated code -->
|
||||
<suppress checks=".*" files=".*[\\/]generated[\\/].*"/>
|
||||
</suppressions>
|
||||
Reference in new issue
Block a user