Sha256: cdaec8eeb2173e6ef39be0349560229c99176b3873ef13d0e2f332973fc6cace

Contents?: true

Size: 915 Bytes

Versions: 3

Compression:

Stored size: 915 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'
require 'pelusa/lint/long_identifiers'
require 'pelusa/lint/case_statements'
require 'pelusa/lint/many_arguments'
require 'pelusa/lint/eval_usage'

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,
        LongIdentifiers,
        ManyArguments,
        EvalUsage
      ]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pelusa-0.2.4 lib/pelusa/lint.rb
pelusa-0.2.3 lib/pelusa/lint.rb
pelusa-0.2.2 lib/pelusa/lint.rb