Sha256: 117ac31e505004c6751e62a6bf6dfc4e8cd0b061ba4d9027145b6f98c002b8f8

Contents?: true

Size: 444 Bytes

Versions: 6

Compression:

Stored size: 444 Bytes

Contents

require_relative 'base'

module LintTrap
  module Linter
    # Encapsulates logic specific to scsslint command line tool.
    class SCSSLint < Base
      COMMAND = 'scsslint/scsslint'

      def command_name
        config_path(COMMAND)
      end

      def flags
        [
          '--format=LintTrap'
        ].tap do |flags|
          flags.concat(['--config', options[:config]]) if options[:config]
        end
      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/scsslint.rb
lint_trap-0.0.7 lib/lint_trap/linter/scsslint.rb
lint_trap-0.0.6 lib/lint_trap/linter/scsslint.rb
lint_trap-0.0.5 lib/lint_trap/linter/scsslint.rb
lint_trap-0.0.4 lib/lint_trap/linter/scsslint.rb
lint_trap-0.0.3 lib/lint_trap/linter/scsslint.rb