• Sep 25, 2012


    Make 'indent' behaviour consistent.
    When 'indent' is used as a comment it implies 'white' option. (see
    L1973). This behaviour came to us as JSLint's legacy and is outside
    of scope of this commit. This commit simply makes it so the 'indent'
    option passed as an argument to JSHINT also implies 'white'.
    Fixes GH-655.
  • Sep 3, 2012


    Fixed a bug where new max* options were not recognized.
    So while publishing r11 I noticed that new max* options (maxparams,
    etc.) were not recognized when set using JSHint comments. That was
    because we forgot to update the code that checks for numeric values.
    This patch fixes that and adds a regression test (just in case).
    Will have to move r11 pointer to this commit instead of previous one.
  • Aug 20, 2012


    Add a shim for Array.prototype.indexOf
    Apparently, whatever JavaScript engine WSH uses, it doesn't support
    Array.prototype.indexOf method so I had to add a shim for it. I took
    the original version from MDN and modified it to pass our lint tests.
    Closes GH-617.
  • Aug 5, 2012


    Fix how Rhino wrapper treats predefined args.
    This patch fixes how Rhino wrapper treats predefined args. You don't
    need to include '=' anymore and default override value is now false.
    Here's wrapper's new signature:
    jshint-rhino.js [filename,..] [option=true,..] [global=true,global,..]
     * options must follow filenames
     * options must have '=' in them
     * predefs must follow options
    Closes GH-569.
  • Jul 24, 2012


    Error on invalid JSHINT(...) input
    This patch makes JSHint to return an error whenever you try to use
    the function with an invalid first parameter. First parameter has
    to be either a non-empty string or a non-empty array.
    Closes GH-567.
  • May 2, 2012


    Don't show unnecessary warnings for new my.Array()
    There is no need in showing "Use the _ literal notation." warning
    when Array is simply a property of some custom object. Same with
    Fixes GH-527.
  • Feb 13, 2012


    Unused and implied collections now respect variable hoisting as well.…
    … Fixes GH-431.
  • Jan 20, 2012
  • Jan 9, 2012


    Strip spaces for JSHint options when used with JSC wrapper.
    Fixes GH-398.
  • Dec 31, 2011


    Merge branch 'es5-duplicate-accessors' of https://github.com/Wolfgang…
    …Kluge/jshint into WolfgangKluge-es5-duplicate-accessors