Skip to content

Reject mutually exclusive checkers in blink ECS config - #167

Merged
TomasVotruba merged 1 commit into
mainfrom
blink-conflicting-checkers
Oct 8, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
blink-conflicting-checkers

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Ports ECS's ConflictingCheckersCompilerPass to blink. When a dumped ECS config loads both halves of a mutually exclusive checker group (e.g. YodaStyleFixer and DisallowYodaComparisonSniff, which do the opposite of each other), blink now rejects the config with a clear error instead of running both, matching ECS's behaviour. A checker disabled via skip does not count as loaded.

The conflict table mirrors ECS's CONFLICTING_CHECKER_GROUPS. Covered by a unit test for the conflict, the skip escape hatch, and the single-checker case.

@TomasVotruba
TomasVotruba merged commit 9b82a93 into main Oct 8, 2026
19 checks passed
@TomasVotruba
TomasVotruba deleted the blink-conflicting-checkers branch October 8, 2026 16:54
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