Skip to content

Parsing error: Unexpected token ','. #815

Closed
@bosens-China

Description

@bosens-China

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 ','.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions