You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#1946
This PR implements validation to reject invalid configuration
combinations in qlty.toml files.
## Changes
- Add validation to `EnabledPlugin` to detect mutually exclusive options
- `package_file` and `extra_packages` cannot be used together
- Provide clear error message when both options are specified
- Add comprehensive unit tests and integration tests
- Validation occurs during configuration parsing/post-processing
## Testing
The implementation includes tests that verify:
- Valid configurations with only `package_file`
- Valid configurations with only `extra_packages`
- Valid configurations with neither option
- Error handling when both options are specified
Generated with [Claude Code](https://claude.ai/code)
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: brynary <[email protected]>
0 commit comments