Sha256: 8bd70cac579c38eb867952734251be484094453ee14a96935def9493b186c8df

Contents?: true

Size: 799 Bytes

Versions: 3

Compression:

Stored size: 799 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'

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
      ]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pelusa-0.2.0 lib/pelusa/lint.rb
pelusa-0.1.1 lib/pelusa/lint.rb
pelusa-0.1.0 lib/pelusa/lint.rb