P
P
pegas2020-11-19 23:56:19
JavaScript
pegas, 2020-11-19 23:56:19

What do the lint-staged flags do?

I study the documentation of the lint-staged library . It's very strange that I can't find a description of these options: --fix, --write, --debug, --frail . You need to understand what these flags do. There may be more, but I can't find anything about them in the documentation.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Aetae, 2020-11-20
@1PeGaS

Obviously, this is a wrapper. Usually over eslint. Look at the eslint documentation here .

P
pegas, 2020-11-20
@1PeGaS

lint-staged just runs commands if some files have changed. Why can't my task run from gulp "yarn gulp templates"?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question