Class: RuboCop::Cop::Packs::TypedPublicApis
- Inherits:
-
Sorbet::StrictSigil
- Object
- Sorbet::StrictSigil
- RuboCop::Cop::Packs::TypedPublicApis
- Extended by:
- T::Sig
- Defined in:
- lib/rubocop/cop/packs/typed_public_apis.rb
Overview
This cop helps ensure that each pack’s public API is strictly typed, enforcing strong boundaries.
Instance Method Summary collapse
Instance Method Details
#on_new_investigation ⇒ Object
38 39 40 41 42 |
# File 'lib/rubocop/cop/packs/typed_public_apis.rb', line 38 def on_new_investigation return unless processed_source.path.include?('app/public') super end |