Sha256: cd1c7f715d297250eebd846f999fd45885776571f04b62109bcf84fe66ca38de

Contents?: true

Size: 357 Bytes

Versions: 16

Compression:

Stored size: 357 Bytes

Contents

module.exports = class LintTrap
  constructor: (@errorReport, options = {}) ->

  publish: ->
    for file, errors of @errorReport.paths
      for error in errors
        line = error.lineNumber
        rule = error.rule
        severity = error.level
        message = error.message

        console.log("#{file}:#{line}:::#{rule}:#{severity}:#{message}")

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
lint_trap-0.0.19 config/coffeelint/lint_trap.coffee
lint_trap-0.0.18 config/coffeelint/lint_trap.coffee
lint_trap-0.0.17 config/coffeelint/lint_trap.coffee
lint_trap-0.0.16 config/coffeelint/lint_trap.coffee
lint_trap-0.0.15 config/coffeelint/lint_trap.coffee
lint_trap-0.0.14 config/coffeelint/lint_trap.coffee
lint_trap-0.0.13 config/coffeelint/lint_trap.coffee
lint_trap-0.0.11 config/coffeelint/lint_trap.coffee
lint_trap-0.0.10 config/coffeelint/lint_trap.coffee
lint_trap-0.0.9 config/coffeelint/lint_trap.coffee
lint_trap-0.0.8 config/coffeelint/lint_trap.coffee
lint_trap-0.0.7 config/coffeelint/lint_trap.coffee
lint_trap-0.0.6 config/coffeelint/lint_trap.coffee
lint_trap-0.0.5 config/coffeelint/lint_trap.coffee
lint_trap-0.0.4 config/coffeelint/lint_trap.coffee
lint_trap-0.0.3 config/coffeelint/lint_trap.coffee