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:
Daniel SamsonandClaude Opus 4.5 committed 2026-01-21 12:22:06 +00:00
1 parent cf750b6eb5
commit 3c09ea978d
12 files changed
+2241 -92

No files matched your search

+2 -1
View File
@@ -130,9 +130,10 @@ Developers can use the --offline command line option to test how the service beh
- [Barn Temporary Directory Layout](docs/jobs.md) describes how barn tracks jobs and storage
- [Barn Configuration](docs/config.md) describes configuration options, retry behavior, and cleanup policies
- [Development Guide](docs/development.md) covers local development setup and building from source
- [Coding Standards](docs/coding-standards.md) defines code style, conventions, and quality enforcement
- [Releasing](docs/releasing.md) describes version management and the release process
- [CI/CD](docs/ci-cd.md) documents the GitHub Actions workflows for building and releasing
- [Distribution](docs/distribution.md) covers package manager setup (WinGet, apt, AUR, Homebrew)
- [Auto-Update](docs/auto-update.md) explains the built-in `barn update` command
- [Automated Testing](docs/testing-automated.md) covers the test suite, running tests, and CI integration
- [Manual Testing](docs/testing-manual.md) provides step-by-step manual test procedures
- [Manual Testing](docs/testing-manual.md) provides step-by-step manual test procedures