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