Closed jessevdp closed 7 years ago
Can you create a minimal gist file that replicates the same issue?
Oh yeah, will do. I think it's basically in any function where you specify the defaults for parameters es6 style like so
function foo (bar = 'bar') {}
Hey @jessevdp , I've just tested and the linter on my Atom doesn't return any error. What is your standard
version ?
The error seems to be gone now, I updated the standard-linter
package this morning. I'm on v3.9.0
now.
Since it looks like this has been resolved, I’ll close this issue.
The following error is shown to me by js-standard:
I googled and the error should be thrown when
'use strict'
is used within a function with a non simple parameter list. (such as the function shown in the screenshot)However, There is no
'use strict'
specified in the entire document... As shown by the search.