Suggestion: Grouped Settings

Developer
Mar 5, 2012 at 9:46 PM

Was just tweaking JSHint settings in the JSLint Options window - there are a lot now - and thought it might be good to add some structure. I believe they're currently alphabetized according to their setting key, which unfortunately doesn't make them particularly easy to follow or share with other team members.

It would help if the JSHint rules were grouped under headings such as:

  • Assume
    window, jQuery etc...
  • Tolerate (or Allow)
    ES.next, debugger etc...
  • Disallow
    ++, --, ==, != etc...
  • Require
    Strict, one var etc...

The JSLint rules could probably be split into two or three groups - Assume, Tolerate and Other (for stop) - given their refinement.

Coordinator
Sep 23, 2012 at 6:51 PM

Good idea.