Automatic Code Formatting

Stop Arguing, Start Collaborating

Millions* of Hours Wasted

* Citation Needed

This Doesn't Solve Arguments

go fmt

Image Credit: @gniemeyer & @felipehoffa 

prettier

google-java-format

YPAF

clang-format

CodeFormatter

refmt

Code Faster!

No Configuration

Easier Merges

Less Bickering

How?

A Quick Example

Run the Formatter...

In the Terminal

Run the Formatter...

In your Editor

Run the Formatter...

VCS Hook

About Prettier

Javascript

Flow, Typescript

CSS, SCSS, Less

JSX , Vue

GraphQL, JSON, Markdown

About Prettier

Python, PHP, Swift

Elm, Java, PostgreSQL, Ruby

Official Plugins

Community Plugins

@thejettdurham

Is This The Best We Have?

No!

Go!

Made with Slides.com