     '(?<message>.+) ' +
     # capture error, warning and code
     '\\(((?<error>E)|(?<warning>W))(?<code>[0-9]+)\\)'+
-    # '\\((?<warning>.).+\\)'
     ')'
 
   isNodeExecutable: yes

    @executablePath = "#{jshintExecutablePath}"

  formatMessage: (match) ->
    "#{match.message} (#{match.type}#{match.code})"

  destroy: ->
    atom.config.unobserve 'linter-jshint.jshintExecutablePath'

linterPath = atom.packages.getLoadedPackage("linter").path
Linter = require "#{linterPath}/lib/linter"
{findFile, warn} = require "#{linterPath}/lib/utils"

class LinterJshint extends Linter
  # The syntax that the linter handles. May be a string or
