M
M
myskypesla2019-10-26 17:19:47
JavaScript
myskypesla, 2019-10-26 17:19:47

Why does Vue.js linter swear?

There is a function
5db455ab84fde619868883.jpeg
And, accordingly, data
5db455cedef4d024559616.png
Linter swears, the question is why?
5db45600a1ba5719575501.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ildar Gizetdinov, 2019-10-26
@myskypesla

You declared it in one area, but do not use it there, and in general, you declared it - why do you need it if you do not use it in this scope? Here's a linter that says to you: "Think about it, Fedor, you're a dumbass."
In general, this variable is not needed in the current code, and the linter tells you about it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question