Skip to content

Loading…

fixes #951 #963

Merged
merged 4 commits into from

2 participants

@guyzmo

fixes #951:

  • added es3 config option
  • made es5 the default
  • added info warning if es5 is set
  • added function to encapsulate version state
@guyzmo

based on PR #960 (cf ticket #950).
All tests pass, but as I had to modify most of them, I think it still needs thorough testing.

@guyzmo

PR rebased. tests passed.

guyzmo added some commits
@guyzmo guyzmo added A LOT of tests
renamed isMozOrESNext to isAfterESNext;
added isAfterES5;
refactored ESnext/Moz support to raise errors on future features;
fixed several parsing issues

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
e9e8186
@guyzmo guyzmo updated automatic comma insertion support (cf #950) 2980237
@guyzmo guyzmo added line breaking error on 'return' statement with and without asi …
…option (when it's broken, fix it).
38d14b4
@guyzmo guyzmo added es3 config option and updated tests to match es3 ;
made es5 the default and updated tests to remove es5 ;
added info message to tell about es5 being default ;
added functions to encapsulate management of current version state

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
c001e7c
@valueof
JSHint member

Is this patch still relevant?

@valueof valueof merged commit c001e7c into jshint:master

1 check passed

Details default The Travis build passed
@guyzmo guyzmo deleted the guyzmo:951 branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 29, 2013
  1. @guyzmo

    added A LOT of tests

    guyzmo committed
    renamed isMozOrESNext to isAfterESNext;
    added isAfterES5;
    refactored ESnext/Moz support to raise errors on future features;
    fixed several parsing issues
    
    Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
  2. @guyzmo
  3. @guyzmo

    added line breaking error on 'return' statement with and without asi …

    guyzmo committed
    …option (when it's broken, fix it).
  4. @guyzmo

    added es3 config option and updated tests to match es3 ;

    guyzmo committed
    made es5 the default and updated tests to remove es5 ;
    added info message to tell about es5 being default ;
    added functions to encapsulate management of current version state
    
    Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
Something went wrong with that request. Please try again.