Skip to content

Refactor validation logic to use new validation package#624

Merged
Soner (shyim) merged 7 commits intomainfrom
refactor/validation
Jul 18, 2025
Merged

Refactor validation logic to use new validation package#624
Soner (shyim) merged 7 commits intomainfrom
refactor/validation

Conversation

@shyim
Copy link
Copy Markdown
Member

@shyim Soner (shyim) commented Jul 16, 2025

Testing

  • Basic Check
  • Ignoring

Changes

  • Updated asset validation functions to utilize the new validation.Check interface and CheckResult struct.
  • Replaced context-based error handling with a more structured approach using validation results.
  • Refactored tests to align with the new validation structure, ensuring proper error and result assertions.
  • Introduced ToolConfigIgnore struct for better management of validation ignores.
  • Enhanced various verifier implementations (e.g., ESLint, Stylelint, PHPStan) to utilize the new validation results.
  • Removed deprecated CheckResult struct and constants, centralizing validation logic within the validation package.

- Updated asset validation functions to utilize the new validation.Check interface and CheckResult struct.
- Replaced context-based error handling with a more structured approach using validation results.
- Refactored tests to align with the new validation structure, ensuring proper error and result assertions.
- Introduced ToolConfigIgnore struct for better management of validation ignores.
- Enhanced various verifier implementations (e.g., ESLint, Stylelint, PHPStan) to utilize the new validation results.
- Removed deprecated CheckResult struct and constants, centralizing validation logic within the validation package.
@shyim Soner (shyim) merged commit 02d6533 into main Jul 18, 2025
4 checks passed
@shyim Soner (shyim) deleted the refactor/validation branch July 18, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant