Person, Flooring, Wood, Floor, Hardwood, Furniture, Plywood, Couch, Sphere

Pinterest + ktlint = ❤

Sha Sha Chu | Android Core Experience

It’s been nearly a year since Pinterest’s Android codebase became Kotlin-first, and about two years since we adopted ktlint for Kotlin linting and formatting. Today, we’re sharing that Pinterest has officially taken ownership over the project.

Initially, we chose ktlint because of its simplicity, active community, extensibility, and extremely responsive owner. It also integrated easily with our existing Phabricator-based workflow, and, after adding about 65 lines of PHP to our Arcanist library, we were able to apply linting and formatting to our Kotlin files on a per-diff basis.

When Stanley Shyiko (the developer of ktlint) put a call out a few months ago looking for new ownership for the project, we were immediately interested. Not only was it a tool we use every single day at Pinterest, but it would be a tangible way for us to give back to the Kotlin community. After a few meetings with Stanley, it was clear that it was a great fit, and we were excited to move forward as owner.

In the short term, nothing is going to change about the way the project is run and maintained. We still welcome and encourage outside contributions to the project in the form of Issues and Pull Requests. In the medium-to-long term, we plan to follow Stanley’s proposed roadmap by implementing a way to globally disable rules (ktlint’s most-requested feature), integrating an official Gradle plugin, and updating some of the APIs in ktlint-core to enable cleaner Rule writing. If any of these projects seems interesting to you, please reach out or go ahead and open a Pull Request. Finally, if you or your company uses ktlint, please open a Pull Request to add yourself to the Adopters list.

We’re committed to continuing the great work Stanley started, and collaborating with other developers in the growing Kotlin community.

Thank you to Garrett Moon and Jon Parise for their assistance in bringing ktlint to Pinterest, as well as Kevin Bierhoff, Beth Cutler and James Lau at Google for their technical input.

Read more >

Jobs people like you viewed

Account Manager, Mid-Market - New Business

Sales > US Midmarket & SMB Sales 1431794 San Francisco California United States San Francisco, California, United States US Midmarket & SMB Sales Sales > US Midmarket & SMB Sales
About Pinterest: Millions of people across the world come to Pinterest to find new ideas every day. It’s where they get inspiration, dream about new possibilities and plan for what matters most. Our mission is to help those people find their inspi...

Executive Assistant

Business > Admin 1431784 London England United Kingdom London, England, United Kingdom Administrative Business > Admin
About Pinterest: Millions of people across the world come to Pinterest to find new ideas every day. It’s where they get inspiration, dream about new possibilities and plan for what matters most. Our mission is to help those people find their inspi...

Sales Enablement Specialist

Partner Management/Sales 1431058 US Field Sales Sales and Partnerships > Partner Management/Sales
About Pinterest: Millions of people across the world come to Pinterest to find new ideas every day. It’s where they get inspiration, dream about new possibilities and plan for what matters most. Our mission is to help those people find their inspi...

University Grad Software Engineer

University > Engineering 1398486 Toronto. Palo Alto. San Francisco. Seattle Ontario. California. Washington Canada. United States Toronto, Ontario, Canada. Palo Alto, California, United States. San Francisco, California, United States. Seattle, Washington, United States University, Engineering University > Engineering
PLEASE ONLY APPLY FOR THIS POSITION ONCE. Location preferences are specified within the application. Multiple applications may delay our recruitment process. About Pinterest: Millions of people across the world come to Pinterest to find new ideas ...

UX Writer, Measurement & Insights

Design 1399408 Seattle Washington United States Seattle, Washington, United States Design Product Design > Product Design
About Pinterest: Millions of people across the world come to Pinterest to find new ideas every day. It’s where they get inspiration, dream about new possibilities and plan for what matters most. Our mission is to help those people find their inspi...

Web Engineer, Pinner Foundations

Engineering 1409156 San Francisco California United States San Francisco, California, United States Engineering Engineering > Eng
Millions of people across the world come to Pinterest to find new ideas every day. It’s where they get inspiration, dream about new possibilities and plan for what matters most. Our mission is to help those people find their inspiration and create...

Please register your interest

Not You?

Thank you