P
P
pupkinvasya19812019-10-08 10:38:27
IT terminology
pupkinvasya1981, 2019-10-08 10:38:27

What is the difference between linters, hinters, and praeters?

What is the difference between linters, hinters, and praeters?
What is the difference between them, and which is better?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Daniil Maslov, 2019-10-08
@pupkinvasya1981

All of them have a different purpose.
Lint - checking the code according to certain rules. The most popular ESLint tool.
Hint is almost never used anymore. This is the same as linters, only with cut functionality.
Prettier - code formatting (indents, hyphens) according to certain rules. It may work well in conjunction with ESLint, but some of the code can format ESLint itself automatically.
There is no better one, a certain tool is used for each task, but almost all projects have linters.

A
Adamos, 2019-10-08
@Adamos

and which is better?

It is better to use an IDE where these tools are already configured out of the box, do not interfere with each other and allow you not to bother with the difference between them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question