Sha256: 417b97dd999ed99adcff8c31c27c3eff35e927d8c6a4370f9f4d02306ca1d423

Contents?: true

Size: 323 Bytes

Versions: 12

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

require 'rubocop'
require_relative 'has_sigil'

module RuboCop
  module Cop
    module Sorbet
      # This cop makes the Sorbet `ignore` sigil mandatory in all files.
      class IgnoreSigil < HasSigil
        def minimum_strictness
          'ignore'
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rubocop-sorbet-0.6.2 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb
rubocop-sorbet-0.6.1 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb
rubocop-sorbet-0.6.0 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb
rubocop-sorbet-0.5.1 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb
rubocop-sorbet-0.5.0 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb
rubocop-sorbet-0.4.1 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb
rubocop-sorbet-0.4.0 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb
rubocop-sorbet-0.3.7 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb
rubocop-sorbet-0.3.6 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb
rubocop-sorbet-0.3.5 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb
rubocop-sorbet-0.3.4 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb
rubocop-sorbet-0.3.3 lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb