You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ES6 documentation cannot be created without the --polyglot option. It does not appear as though I can pass this argument via gulp, as demonstrated by my task:
ES6 documentation cannot be created without the --polyglot option.
While this repo does need a version bump on its documentation dependency in order to support the --polyglot option, as mentioned on the other ticket: this is a misunderstanding:
--polyglot is for non-JavaScript code
Default mode aims to cover ES5 and ES6 code
What you've stumbled on is a bug in espree/ast-types. Once that's fixed, you won't need to pass polyglot as an option.
Related to this issue:
documentationjs/documentation#112
ES6 documentation cannot be created without the
--polyglot
option. It does not appear as though I can pass this argument via gulp, as demonstrated by my task:and the error I get as a result:
but not via the CLI:
documentation * --polyglot
The text was updated successfully, but these errors were encountered: