Sha256: e9de179734ab062165b82791502fa7d07d1d12f0a5783df74a0acac6c08ccbad

Contents?: true

Size: 851 Bytes

Versions: 1

Compression:

Stored size: 851 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/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,
        ManyArguments,
        EvalUsage
      ]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pelusa-0.2.1 lib/pelusa/lint.rb