rubocop-rspec-unused-let adds the RSpec/UnusedLet cop, which flags `let` (and optionally `let!`) definitions, `subject` definitions and helper methods (`def`) that are never referenced within their scope. It resolves `shared_examples` precisely when it can see the shared block, and stays conservative otherwise to avoid false positives.

Required Ruby Version

>= 2.7.0

Authors

Takeshi KOMIYA

Versions

  1. 1.3.0 August 23, 2026 (43.5 KB)
  2. 1.2.0 August 08, 2026 (42.5 KB)
  3. 1.1.0 July 15, 2026 (15 KB)
  4. 1.0.0 July 15, 2026 (14.5 KB)

Pushed by

GitHub

SHA 256 checksum