Skip to content

New project creation fails when selected airbnb eslint #1956

Closed
@vityas-off

Description

@vityas-off

Version

3.0.0-rc.6

Node and OS info

node v10.7.0, yarn 1.7.0, linux

Steps to reproduce

  1. vue create
  2. select babel, router, linter
  3. select 'ESLint Airbnb config''
  4. select 'lint on save'
  5. select 'In package.json'

What is expected?

new project created

What is actually happening?

getting this error

⠋  Running completion hooks...error: Unexpected newline after '(' (function-paren-newline) at test5/src/router.js:20:30:
  18 |       // this generates a separate chunk (about.[hash].js) for this route
  19 |       // which is lazy-loaded when the route is visited.
> 20 |       component: () => import(
     |                              ^
  21 |         /* webpackChunkName: "about" */
  22 |         './views/About.vue'),
  23 |     },

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