v0.3.2
What's Changed
Commits
- chore: bump version to 0.3.2 (b4ca2a0)
- Add support for Go strict preset: Implement rules for test files, structure, and exclusions. Update existing presets to include Go language support and enhance test file handling across multiple languages in monorepo base preset. (1799344)
- Organize integration tests into domain-focused submodules:
check_core_tests,check_output_tests,check_rules_tests, andcheck_state_tests. (8cc0285) - Update rules.mdc: Add "Principle of Least Surprise" and "Separate Tests from Code" principles to enhance design guidelines. Refine existing principles for clarity and focus on clean design and testability. (7edfc18)
- Refactor path normalization: Introduce
normalize_for_matchingfunction for consistent path handling across platforms. UpdateThresholdCheckerandAllowlistRuleto utilize the new normalization method, ensuring accurate glob pattern matching. Remove redundant normalization logic fromallowlist.rsand add comprehensive tests for path normalization scenarios. (ba2e9b5)
Installation
Download the appropriate binary for your platform from the assets below.
| Platform | Architecture | File |
|---|---|---|
| Windows | x64 | sloc-guard-v0.3.2-windows-x64.zip |
| Windows | arm64 | sloc-guard-v0.3.2-windows-arm64.zip |
| Linux | x64 | sloc-guard-v0.3.2-linux-x64.tar.gz |
| Linux | arm64 | sloc-guard-v0.3.2-linux-arm64.tar.gz |
| macOS | x64 | sloc-guard-v0.3.2-macos-x64.tar.gz |
| macOS | arm64 | sloc-guard-v0.3.2-macos-arm64.tar.gz |
Full Changelog: v0.3.1...v0.3.2