-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ES6 module-syntax export default
errors
#73
Milestone
Comments
This is likely a lack in ast-types rather than espree: benjamn/ast-types#111 |
Seems like you found the culprit. |
benjamn/ast-types#111 issue has been closed, but this remains an issue. /**
* Extracts date from a string using provided format.
*
* The supplied format must include
*
* @param {string} subject
* @param {string} format
* @param {string} locale
* @returns {string} YYYY-MM-DD
*/
export default (subject, format, explicitLocale) => {
}; produces:
|
This issue is not present in the master, though. |
I have the same error.
I suspect that it is because such structures
Who knows how to solve this problem? |
rhendric
pushed a commit
to rhendric/documentation
that referenced
this issue
Sep 15, 2022
It is unlikely that I will pull in the latest changes any time soon, so I'm officially calling it stale. If I ever get the urge to deal with it again, I will probably redo it from scratch with CoreFN or, if it'll be available, the imperative core.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try a file with ES6 syntax
export default function() { .. }
I get the following error:Because Espree-powered ESLint supports this syntax I thought documentation would ... What do you think?
I could try submitting a PR with a failing test if you'd like that.
The text was updated successfully, but these errors were encountered: