Sha256: 4a5c97858d640d1ef4abac8840b9d388b7e9ae8212c5bf1830f274fc1ad2c213

Contents?: true

Size: 317 Bytes

Versions: 10

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

require "rubocop"
require_relative "has_sigil"

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rubocop-sorbet-0.7.0 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.6.11 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.6.10 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.6.9 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.6.8 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.6.7 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.6.6 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.6.5 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.6.4 lib/rubocop/cop/sorbet/sigils/true_sigil.rb
rubocop-sorbet-0.6.3 lib/rubocop/cop/sorbet/sigils/true_sigil.rb