Posted

Prettier 1.0

An opinionated JavaScript formatter

Discussion

H
Faisal Hassan
@faisal_hassanx
"Prettier is a JS formatter that works by compiling your code to an AST, and then pretty-printing the AST. Like browsers wrap text, prettier will also wrap code according to a given line length. The result is good-looking code that is completely consistent no matter who wrote it. This solves the problem of programmers spending a lot of time manually moving a… See more