Is there a way to create a model to auto format typescript or javascript files with prettier or eslint?

Viewed 23

Is there a way to format a typescript file for example to structure where different parts of the file are held. So on save the variables are put to the top of the class, functions... etc. Not sure if an extension is needed to make a model.

0 Answers
Related