Sha256: c9df2aeaefcdce998b1a6656ab36f90374cb1eefeddd920858883a8a435c6253

Contents?: true

Size: 355 Bytes

Versions: 6

Compression:

Stored size: 355 Bytes

Contents

require_relative 'base'

module LintTrap
  module Linter
    # Encapsulates logic specific to durable-json-lint command line tool.
    class JSONLint < Base
    private

      def command_name
        'durable-json-lint'
      end

      def flags
        ['--format', '{{file}}:{{line}}:{{column}}:::error:{{{description}}}']
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lint_trap-0.0.8 lib/lint_trap/linter/jsonlint.rb
lint_trap-0.0.7 lib/lint_trap/linter/jsonlint.rb
lint_trap-0.0.6 lib/lint_trap/linter/jsonlint.rb
lint_trap-0.0.5 lib/lint_trap/linter/jsonlint.rb
lint_trap-0.0.4 lib/lint_trap/linter/jsonlint.rb
lint_trap-0.0.3 lib/lint_trap/linter/jsonlint.rb