Skip to content

require-loop-advance rule, error guard advice - #11

Merged
bisubus merged 8 commits into
masterfrom
feat-loop-advance-guards
Nov 1, 2026
Merged

bisubus merged 8 commits into
masterfrom
feat-loop-advance-guards

Conversation

@bisubus

@bisubus bisubus commented Nov 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Add
    equire-loop-advance rule to detect infinite cancelable loops lacking advancement steps.
  • Register
    equire-loop-advance in the recommended preset and document its usage.
  • Drive branded error checks in prefer-is-cancel-error from a unified table.
  • Extend guard advice for TimeoutError, AbortError, SupersededError, and BreakError.
  • Add guard advice for @cancjs/node error classes.

Testing

  • vitest: 2771 passed, 10 skipped across 92 test files.
  • integration: 8/8 passed across test lanes 9 and 10.
  • package smoke: passed across all entry points.
  • typecheck, lint, docs check, text style, range sweep, and banned token checks clean.

@bisubus
bisubus changed the base branch from fix-rule-precision to master November 1, 2026 23:42
@bisubus
bisubus merged commit ab22fe0 into master Nov 1, 2026
11 checks passed
@bisubus
bisubus deleted the feat-loop-advance-guards branch November 1, 2026 23: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