Sha256: 5356f5d10edae4f53ecb7171826ab87b7789ee270f83e9e1c9625fdc83ec7004

Contents?: true

Size: 421 Bytes

Versions: 3

Compression:

Stored size: 421 Bytes

Contents

require_relative 'base'

module LintTrap
  module Linter
    # Encapsulates logic specific to scsslint command line tool.
    class Unknown < Base
      attr_reader :name

      def initialize(name = 'Unknown')
        @name = name
      end

      def languages
        super(Language::Unknown)
      end

      def version
        LintTrap::VERSION
      end

      def known?
        false
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lint_trap-0.0.15 lib/lint_trap/linter/unknown.rb
lint_trap-0.0.14 lib/lint_trap/linter/unknown.rb
lint_trap-0.0.13 lib/lint_trap/linter/unknown.rb