Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Prettier ¶
type Prettier struct { mg.ReducerType // Langs is the list of languages to fmt. // It's empty (len==0), PrettierDefaultLangs is used. Langs []mg.Lang }
Prettier is a reducer that does code fmt'ing using https://github.com/prettier/prettier By default it fmt's CSS, HTML, JS, JSON, JSX, SVG, TS, TSX and XML files.
NOTE: as a special-case, files with extensions starting with `.sublime-` are ignored. NOTE: you will need to install prettier separately
Click to show internal directories.
Click to hide internal directories.