2a253828b79c07a8ce5c64cc09208d89df37701c
* Build(deps): Bump flow-parser from 0.145.0 to 0.146.0 Bumps [flow-parser](https://github.com/facebook/flow) from 0.145.0 to 0.146.0. - [Release notes](https://github.com/facebook/flow/releases) - [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md) - [Commits](https://github.com/facebook/flow/compare/v0.145.0...v0.146.0) Signed-off-by: dependabot[bot] <support@github.com> * Show more details about unexpected global objects * Use `Object.prototype.toString` to show `type` * Workaround * Spellcheck * Update to `v0.147.0` * Revert "Workaround" This reverts commit 5d6d53ba0653f7126a747e84e032c96c0df30788. * Revert "Spellcheck" This reverts commit 180db1ae1c3639cfdbab40463dfe15bca9926dbd. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung <lionkay@gmail.com>
Opinionated Code Formatter
JavaScript
· TypeScript
· Flow
· JSX
· JSON
CSS
· SCSS
· Less
HTML
· Vue
· Angular
GraphQL
· Markdown
· YAML
Your favorite language?
Intro
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
Input
foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());
Output
foo(
reallyLongArg(),
omgSoManyParameters(),
IShouldRefactorThis(),
isThereSeriouslyAnotherOne()
);
Prettier can be run in your editor on-save, in a pre-commit hook, or in CI environments to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!
Badge
Show the world you're using Prettier →
[](https://github.com/prettier/prettier)
Contributing
See CONTRIBUTING.md.
Languages
JavaScript
98.6%
CSS
0.9%
Vue
0.2%
HTML
0.2%
MDX
0.1%
