Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add validate command #915

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

mrexox
Copy link
Member

@mrexox mrexox commented Jan 9, 2025

Closes #665

⚡ Summary

Validation is showing errors for fields that accept multiple values (like skip, exclude, only). But for this time it's OK since the value is to show the actual errors.

  • Add lefthook validate command which uses repo's schema.json
  • Add a test

@mrexox mrexox marked this pull request as ready for review January 9, 2025 13:49
@mrexox mrexox force-pushed the feat/add-validate-command branch from 8ba7eaa to 1a794f4 Compare January 9, 2025 13:57
@mrexox mrexox force-pushed the feat/add-validate-command branch from 1a794f4 to a78a3aa Compare January 9, 2025 13:58
@mrexox mrexox merged commit 9e69555 into evilmartians:master Jan 10, 2025
12 checks passed
@mrexox mrexox deleted the feat/add-validate-command branch January 10, 2025 07:50
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.

On-demand config validation
1 participant