Sha256: a5495a57fcea0c5c3f6e3e9d0c43ffdf1216b18c226d4cd28879632e2feaf377

Contents?: true

Size: 702 Bytes

Versions: 2

Compression:

Stored size: 702 Bytes

Contents

require 'set'
require 'pelusa/lint/line_restriction'
require 'pelusa/lint/instance_variables'
require 'pelusa/lint/demeter_law'
require 'pelusa/lint/indentation_level'
require 'pelusa/lint/else_clauses'
require 'pelusa/lint/properties'
require 'pelusa/lint/collection_wrappers'
require 'pelusa/lint/short_identifiers'

module Pelusa
  # Public: A Lint is a quality standard, applicable on a given piece of code to
  # check its compliance.
  #
  module Lint
    def self.all
      [
        LineRestriction,
        InstanceVariables,
        DemeterLaw,
        IndentationLevel,
        ElseClauses,
        Properties,
        CollectionWrappers,
        ShortIdentifiers,
      ]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pelusa-0.0.2 lib/pelusa/lint.rb
pelusa-0.0.1 lib/pelusa/lint.rb