D
D
Denis Bukreev2018-11-24 16:44:46
webstorm
Denis Bukreev, 2018-11-24 16:44:46

Prettier forcibly migrates code to WebStorm - how to eliminate this behavior?

I installed Prettier in the project, installed FileWatcher according to the instructions in the dock, and now, when I try to write in one line:

Vue.prototype.$http.defaults.headers.common['Authorization'] = localStorage.getItem('user-token')

WebStorm automatically transfers it in this form:
5bf9559d37b40151490827.png
I rummaged through the settings for a long time, in the options in the dock on the site, but did not find anything like it.
What is this behavior and how can I turn it off?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question