P
P
po4talben2020-12-15 13:50:34
JavaScript
po4talben, 2020-12-15 13:50:34

Connect gulp How to fix the error?

What is the error and how to fix it? how to connect gulp to the project?5fd894ee8d2f2619070230.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuriy Vorobyov, 2020-12-15
@po4talben

Change the ESLint config. By default, it checks for ES5 syntax.

{
    "parserOptions": {
        "ecmaVersion": 2017
    },

    "env": {
        "es6": true
    }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question