• 
      

    Update jshintrc to support ES6 and not warn about unused parameters.

    Review Request #8277 — Created July 11, 2016 and submitted

    Information

    Djblets
    release-0.10.x
    b709279...

    Reviewers

    This gets jshint set up to support validating ES6, for some upcoming
    work happening in Djblets. It also tweaks the unused variable option to
    only warn about actual variables and not function parameters (which we
    often want to declare but not use, such as in a base class).

    Ran jshint against some upcoming code. Saw that it no longer complained
    about the unused function parameters in a base class, and that it had no
    problem with the new ES6 code.

    reviewbot
    1. Tool: PEP8 Style Checker
      Ignored Files:
          djblets/static/djblets/js/.jshintrc
      
      
      
      Tool: Pyflakes
      Ignored Files:
          djblets/static/djblets/js/.jshintrc
      
      
    2. 
        
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-0.10.x (324e264)