Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport default parameters in ES6 and moz #1195
Comments
thomasboyt
referenced this issue
Jul 31, 2013
Closed
Added default parameter support (esnext/moz) #1208
valueof
closed this
in
cac4daa
Aug 1, 2013
added a commit
to jugglinmike/jshint
that referenced
this issue
Oct 21, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MikeRatcliffe commentedJul 24, 2013
Default parameters are currently not supported and using them completely invalidates the linting from that line onwards. For Firefox devs this means that it is often only possible to lint the first few lines of a file.
Try linting this:
It would be awesome if support could be added for this feature in ES6 and moz modes.