F
F
Faust2021-03-04 14:15:39
JavaScript
Faust, 2021-03-04 14:15:39

Why does Prettier put a semicolon on autosave when semi is off?

And it puts it in an essentially meaningless place:

6040c0b25aeb5098172206.png
And the funny thing is that when I turn on auto-adding a semicolon, it puts it in all the right places except for this one.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fallus, 2021-03-04
@SkodeM

return because
map() should return something.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question