Sha256: 82f2f5e07e426a8c26db0188751631e59e58f4cd2b99026e01fb5c8c8dd349db

Contents?: true

Size: 683 Bytes

Versions: 75

Compression:

Stored size: 683 Bytes

Contents

module LintRoller
  Rules = Struct.new(
    # Valid values: :path, :object, :error
    :type,
    # Only known value right now is :rubocop but nothing would stop rufo or
    # rubyfmt or prettier from adding support without a change to the gem
    :config_format,
    # If type is :path, String or Pathname. Otherwise, whatever :object type
    # makes sense given :config_format (e.g. for RuboCop, a Hash loaded from a
    # YAML file; note that providing a hash will prevent the use of RuboCop features
    # like `inherit_from' and `require'!)
    :value,
    # If something went wrong an Error for the runner to deal with appropriately
    :error,
    keyword_init: true
  )
end

Version data entries

75 entries across 75 versions & 3 rubygems

Version Path
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.2.6 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.2.5 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.2.4 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.2.3 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.2.2 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.2.1 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.2.0 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.1.99 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.1.98 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.1.97 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.1.96 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.1.95 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.1.94 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.1.93 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb
harbr-0.1.91 vendor/bundle/ruby/3.2.0/gems/lint_roller-1.1.0/lib/lint_roller/rules.rb