2 ms·
From the readme: Unlike ESLint ... everything is fixable. This works because Prettier never "checks" anything; it ... parses your JavaScript into an AST (Abstr
by rattray 10y ago
From the readme:
Unlike ESLint ... everything is fixable. This works because Prettier never "checks" anything; it ... parses your JavaScript into an AST (Abstract Syntax Tree) and pretty-prints the AST, completely ignoring any of the original formatting.
There's an extremely important piece missing from existing styling tools: the maximum line length ...
(ESLint never knows how to fix it).
https://github.com/prettier/prettier https://github.com/prettier/prettier