A
A
Anastasia Egorova2020-11-28 14:53:14
JavaScript
Anastasia Egorova, 2020-11-28 14:53:14

What to do with the class arrow method linter error?

ES Linter throws an error:
5fc2392f16d7b886131822.png
What to do with it? Of course, you can remove the arrow function, and write this in the constructor for this method, but I want to do it through arrow functions. Advise what to do so that you can leave the turnout.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anastasia Egorova, 2020-11-28
@RachelGreen

Solved with plugin "plugin:vue / recommended"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question