Module: RuboCop::Cop::Style::RbsInline::AnnotationKeywords

Included in:
InvalidComment, KeywordSeparator, ParametersSeparator
Defined in:
lib/rubocop/cop/style/rbs_inline/mixin/annotation_keywords.rb,
sig/rubocop/cop/style/rbs_inline/mixin/annotation_keywords.rbs

Overview

Provides the list of keywords that may follow # @rbs in an annotation comment.

refs: https://github.com/soutaro/rbs-inline/blob/main/lib/rbs/inline/annotation_parser/tokenizer.rb

Constant Summary collapse

RBS_INLINE_KEYWORDS =

: Array

Returns:

  • (Array[String])
%w[inherits override use module-self generic skip module class].freeze