Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Feature Request: Name violated rule in results #742

Open
bdkjones opened this Issue · 0 comments

2 participants

@bdkjones

It would be very useful if JSHint would specify which option led to each error in the results. Ideally, this would make the results array look like this:

  errors: [
    {
      line       : NUMBER,
      character  : NUMBER,
      reason     : STRING,
      evidence   : STRING,
      rule: STRING                     // New addition. Name of violated rule. E.g. "eqeqeq", or "newcap"
    }

This would help the user quickly identify which options they need to adjust to eliminate certain warnings that they're willing to tolerate in their code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.