javascript lint error levels

2009-09-11
2013-05-28
  • Chad Metcalf
    Chad Metcalf
    2009-09-11

    If you run jsl with no args you see:

    Error levels:
      0 - Success
      1 - JavaScript warnings
      2 - Usage or configuration error
      3 - JavaScript error
      4 - File error

    When you actually run jsl the warnings and errors are labeled things like:

    lint warning
    SyntaxError
    warning

    Is there a configuration setting to get the number version or is there a place to see all the possible labels and their mappings to the levels?

    Thanks