Sha256: 251b597357fe9621bb1acc6d72ebcd33c13ffa79356f1736d3082a5a51b7915e

Contents?: true

Size: 498 Bytes

Versions: 3

Compression:

Stored size: 498 Bytes

Contents

require_relative 'base'
require_relative '../parser/vim_quickfix'

module LintTrap
  module Linter
    # Encapsulates logic specific to golint command line tool.
    class GoLint < Base
      def languages
        super(Language::Go)
      end

      def version
        LintTrap::VERSION
      end

    private

      def flags(_container, _options)
        []
      end

      def parser(stdout, container)
        LintTrap::Parser::VimQuickfix.new(stdout, container)
      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/golint.rb
lint_trap-0.0.14 lib/lint_trap/linter/golint.rb
lint_trap-0.0.13 lib/lint_trap/linter/golint.rb