Skip to content

Parsing error: Unexpected token ','. #815

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

Closed
bosens-China opened this issue Feb 13, 2019 · 1 comment
Closed

Parsing error: Unexpected token ','. #815

bosens-China opened this issue Feb 13, 2019 · 1 comment

Comments

@bosens-China
Copy link

Tell us about your environment

  • ESLint version: ^5.8.0
  • eslint-plugin-vue version: "^5.0.0"
  • Node version: ^10.05

Please show your full configuration:

module.exports = {
  root: true,
  env: {
    node: true,
  },
  extends: [
    'plugin:vue/essential',
    '@vue/airbnb',
  ],
  rules: {
    'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
    'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
  },
  parserOptions: {
    parser: 'babel-eslint',
  },
  "globals": {
    "url": true,
  }
};

What did you do?

<template slot="operation" slot-scope="text, record, index">
</template>

What did you expect to happen?

What actually happened?
vs code Error
Parsing error: Unexpected token ','.

@mysticatea
Copy link
Member

Hi. Thank you for this issue.

This is duplicate of #722 and fixed in 97a51b2.
Please wait for the next release.

cc: @michalsnik

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

2 participants