Sha256: 1442e488430660aef8420317cddf2db1d02cabe3e633b76c1cf17dd4d8206a4c

Contents?: true

Size: 308 Bytes

Versions: 16

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

require "rubocop"
require_relative "has_sigil"

module RuboCop
  module Cop
    module Sorbet
      # Makes the Sorbet `true` sigil mandatory in all files.
      class TrueSigil < HasSigil
        def minimum_strictness
          "true"
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rubocop-sorbet-0.8.7 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.8.6 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.8.5 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.8.4 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.8.3 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.8.2 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.8.1 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.8.0 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.7.8 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.7.7 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.7.6 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.7.5 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.7.4 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.7.3 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.7.2 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.7.1 lib/rubocop/cop/sorbet/sigils/true_sigil.rb