Sha256: bf263d23f21b430a197bf145bb970b505d2ff1b54b5c7db40313124d12755119
Contents?: true
Size: 519 Bytes
Versions: 3
Compression:
Stored size: 519 Bytes
Contents
require_relative 'base' module LintTrap module Linter # Encapsulates logic specific to coffeelint command line tool. class CoffeeLint < Base REPORTER = 'coffeelint/lint_trap.coffee' def languages super(Language::CoffeeScript) end private def flags [ "--reporter=#{config_path(REPORTER)}", '--nocolor' ].tap do |flags| flags.concat(["--file=#{options[:config]}"]) if options[:config] end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.11 | lib/lint_trap/linter/coffeelint.rb |
lint_trap-0.0.10 | lib/lint_trap/linter/coffeelint.rb |
lint_trap-0.0.9 | lib/lint_trap/linter/coffeelint.rb |