S
S
Sergey Burduzha2021-01-11 11:26:55
phpstorm
Sergey Burduzha, 2021-01-11 11:26:55

How to set up eslint between phpstorm and vuejs?

Good afternoon.
I worked at home on a test project, came to work, cloned and launched, and here it’s just a problem with indents.

In phpstorm, it shows some indents:
lTYUfgO.png

And on the site, it's completely different.

duDo0Rn.png

And the settings in phpstorm itself

f63yt05.png

In the storm, I specified the path to eslint from node_modules, which is listed on the site.

geXILQl.png

What is the problem, and why are the padding settings from storm not working?

Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Burduzha, 2021-01-11
@serii81

I installed the plugin https://eslint.vuejs.org/user-guide/#installation
And in the storm I set indents for js and vue files, removed tabs and set 2 spaces.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question