Skip to content
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

ECMAScript proposals error #63

Open
andre2 opened this issue Jun 12, 2018 · 0 comments
Open

ECMAScript proposals error #63

andre2 opened this issue Jun 12, 2018 · 0 comments

Comments

@andre2
Copy link

andre2 commented Jun 12, 2018

Error:

warning: could not parse the following code. if you want to use ECMAScript proposals, see https://esdoc.org/manual/feature.html#ecmascript-proposal

Config:

{
  "source": "./src",
  "destination": "./docs",
  "plugins": [
    {
      "name": "esdoc-standard-plugin"
    },
    {
      "name": "esdoc-ecmascript-proposal-plugin",
      "option": {
        "all": true
      }
    }
  ]
}

ESDoc fails on:

const obj = {
    to: options.to,
    opts: {
        html: true,
        ...options
    }
}

Or (in generated docs only PORT is visible):

export const {
  PORT,
  JWT
} = process.env;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant