diagnostic-languageserver icon indicating copy to clipboard operation
diagnostic-languageserver copied to clipboard

Applying multiple formatters in sequence

Open TxHawks opened this issue 4 years ago • 1 comments

From the documentation I see that formatFiletypes can take an array of formatters for each file type, but from a very cursory reading of the code it seems like they are run async.

My use case is that I would like to run Prettier, and only then ESLint (kind of like prettier-eslint does, but without using it.

Is something like that possible?

TxHawks avatar Sep 16 '21 08:09 TxHawks

Multiple formatters are running in sequence.

iamcco avatar Nov 26 '21 07:11 iamcco