Skip to content
Commits on Jun 23, 2012
Commits on Jun 22, 2012
Commits on May 22, 2012
  1. @valueof

    Merge pull request #530 from JasonMore/master

    Dom Level 2 items are failing: Node and NodeFilter
    valueof committed May 21, 2012
Commits on May 10, 2012
  1. @goatslacker

    Merge pull request #523 from pracj3am/Single_double_quotes_consistency

    Adds option quotmark [closes #306]
    goatslacker committed May 10, 2012
  2. @goatslacker

    Merge pull request #524 from pracj3am/Option_camelcase

    Adds option camelcase
    goatslacker committed May 10, 2012
Commits on May 8, 2012
  1. @goatslacker

    Merge pull request #522 from pracj3am/Allow_space_before_block_comment

    Allow space afters tabs and before a block comment [closes #503].
    goatslacker committed May 7, 2012
Commits on May 3, 2012
  1. @goatslacker

    Merge pull request #531 from rwldrn/334

    Do not assume advance "end" if next token is ".". Fixes #334
    goatslacker committed May 3, 2012
  2. @rwaldron

    Do not assume advance "end" if next token is ".". Fixes #334

    Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
    rwaldron committed May 3, 2012
  3. @JasonMore

    Added broken test for Node and NodeFilter

    There are at least 2 DOM level 2 types that jshint is failing on
    http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html
    JasonMore committed May 3, 2012
Commits on May 2, 2012
  1. @rwaldron @valueof

    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
    Object.
    
    Fixes GH-527.
    rwaldron committed with valueof May 1, 2012
  2. @valueof
Commits on Apr 24, 2012
  1. @pracj3am

    Adds option quotmark [closes #306]

     - {quotmark: true} // ensures consistency of quotation marks
     - {quotmark: "single"} // requires single quotes as quotation marks
     - {quotmark: "double"} // requires double quotes as quotation marks
    pracj3am committed Apr 23, 2012
Commits on Apr 23, 2012
  1. @pracj3am

    Adds option camelcase

    If option camelcase is true, all identifiers are required
    in camel case or in upper case with underscores.
    pracj3am committed Apr 23, 2012
  2. @pracj3am
Commits on Apr 11, 2012
  1. @istvan-antal @valueof

    Rhino: convert indent into a number.

    This patch fixes a bug when values of option indent were being
    passed into JSHINT as strings instead of numbers.
    
    Fixes GH-495.
    istvan-antal committed with valueof Apr 10, 2012
Commits on Apr 7, 2012
  1. @valueof

    Patch from J-Griffin

    Added recursive directory support to WSH wrapper.
    
    The WSH env now has support for passing in a directory name.
    
    The only functional change that was made for single files is that the
    passed script name is spit out in the output just like when running
    against a directory. Let me know if that is a problem and I can make a
    change.
    
    + Fixes GH-471
    
    * (merged manually)
    valueof committed Apr 7, 2012
  2. @valueof

    Added (hidden) r2config

    valueof committed Apr 7, 2012
  3. @valueof

    Merge GH-508

    Although JSHint currently recognizes the `/*jslint` option comment syntax,
    several of the options have either changed names or inverted meanings
    between JSLint and JSHint.  This creates many needless errors when running
    JSHint against a project using the JSLint option comments.
    To increase compatibility and ease transitions from JSLint to JSHint,
    these patches translate JSLint options into JSHint options where possible
    and unambiguous.
    
    + Fixes GH-508
    
    * patch-508:
      Add test for compatibility with renamed JSLint options
      Support compatibility with renamed JSLint options
      Add test for compatibility with inverted JSLint options
      Support compatibility with inverted JSLint options
    valueof committed Apr 7, 2012
  4. @kevinoid @valueof

    Add test for compatibility with renamed JSLint options

    Create jslintRenamed.js unit test which tests handling of the
    "/*jslint" eqeq option.  If the option name is not converted from "eqeq"
    to "eqeqeq" and the value inverted, the test will fail.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
    kevinoid committed with valueof Apr 4, 2012
  5. @kevinoid @valueof

    Support compatibility with renamed JSLint options

    Several of the options inherited from JSLint have retained their
    original function but changed their names.  Since the "/*jslint" option
    syntax is still supported, running JSHint on a project using the
    "/*jslint" option syntax with these options has no effect and may either
    result in errors the developer has already reviewed or miss errors that
    have been specifically requested.
    
    To support this use case and increase compatibility with JSLint, catch
    such renamed options and store the values with the corresponding JSHint
    option when encountered with the "/*jslint" option syntax.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
    kevinoid committed with valueof Apr 4, 2012
  6. @kevinoid @valueof

    Add test for compatibility with inverted JSLint options

    Create jslintInverted.js unit test which tests handling of the
    "/*jslint" plusplus option.  If this is parsed the same as a "/*jshint"
    option the test will fail.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
    kevinoid committed with valueof Apr 4, 2012
  7. @kevinoid @valueof

    Support compatibility with inverted JSLint options

    Several of the options inherited from JSLint have retained their
    original names but inverted their meanings.  Since the "/*jslint" option
    syntax is still supported, running JSHint on a project using the
    "/*jslint" option syntax with these options produces a result that is
    opposite to the intentions of the developer.
    
    To support this use case and increase compatibility with JSLint, invert
    such option values when encountered with the "/*jslint" option syntax.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
    kevinoid committed with valueof Apr 4, 2012
Commits on Apr 6, 2012
  1. @valueof

    Merge GH-509

    As a convenience to users, it would be nice if `jshint-rhino.js` were directly runnable rather than requiring the user to invoke rhino and pass the script as an argument for every use of JSHint.  To that end, these commits add a shebang line and mark `jshint-rhino.js` executable during build.
    
    + Fixes GH-509
    
    * patch-509:
      Make jshint-rhino.js runnable
    valueof committed Apr 5, 2012
  2. @kevinoid @valueof

    Make jshint-rhino.js runnable

    Add a shebang to jshint-rhino.js to tell the shell how to execute the
    file and mark it executable after build.
    
    Note1:  Ignore the return code of chmod in case the user is on a
    filesystem which does not support setting execute permission.
    Note2:  Make use  of /usr/bin/env to catch rhino anywhere in the PATH.
    
    Also reformat the rhino build target slightly to match the other targets
    (replace chained '&&' with separate shell commands).  Combine multiple
    invocations of cat into one.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
    kevinoid committed with valueof Apr 4, 2012
  3. @valueof
Commits on Mar 28, 2012
  1. @goatslacker

    Merge pull request #497 from brentlintner/copy.option.object

    Internally mutating the option argument causes unexpected behaviour.
    goatslacker committed Mar 28, 2012
Commits on Mar 27, 2012
  1. @brentlintner

    Internally mutating the option argument causes unexpected behaviour.

    Example:
    
        var options = {regexp: true};
        JSHINT("/*jshint regexp: false */\nvar c = /a.b/;", options);
        JSHINT("var a = /d.e/;", options);
    
    In the second call, `options.regexp == false`, and no errors are logged.
    brentlintner committed Mar 27, 2012
Commits on Mar 13, 2012
  1. @goatslacker

    Merge pull request #472 from jshint/gh395

    Warn about invalid (often typoed) options.
    goatslacker committed Mar 12, 2012
Commits on Mar 12, 2012
  1. @valueof
  2. @goatslacker

    Merge pull request #476 from wagenet/object-function

    Allows Object() to be called as a function
    goatslacker committed Mar 11, 2012
  3. @goatslacker

    Merge pull request #479 from fabiomcosta/patch-1

    Adds column to Trailing Whitespace warning.
    goatslacker committed Mar 11, 2012
Commits on Mar 11, 2012
  1. @fabiomcosta

    changing the fix for showing the column of the trailing whitespace, b…

    …ut does the same thing. Changing tests to check for the column number.
    fabiomcosta committed Mar 11, 2012
Commits on Mar 10, 2012
  1. @wagenet
  2. @fabiomcosta
Something went wrong with that request. Please try again.