Sha256: bbcf9ab5d296eb483b5ab8e6bc423930540ea6b19230a025eff2326129a0552c
Contents?: true
Size: 485 Bytes
Versions: 5
Compression:
Stored size: 485 Bytes
Contents
require 'coffeelint' module Warder # responsible for run coffeescript style guide validation class CoffeeLintRunner # responsible for coffeelint results class LintRunner def initialize(file_or_path) @file_or_path = file_or_path end def result if Dir.exist?(@file_or_path) Coffeelint.lint_dir(@file_or_path) else { @file_or_path => Coffeelint.lint_file(@file_or_path) } end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems