Home / Companies / ReadMe / Blog / Post Details
Content Deep Dive

Adopting Coding Standards Within a Large Codebase

Blog post from ReadMe

Post Details
Company
Date Published
Author
Jon Ursenbach
Word Count
854
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

ReadMe has addressed inconsistencies in coding styles within its rapidly growing engineering team by adopting Prettier, an opinionated code formatter, to complement their existing use of ESLint. The challenge was incorporating Prettier without overhauling the entire codebase at once. To achieve this, the team opted for a gradual adoption involving automation scripts that utilize Git commands to identify and format only changed files, which are then processed with Prettier. This approach ensures new code adheres to Prettier standards while gradually updating existing code. The team created a Bash script to facilitate this process, allowing them to check and migrate files to conform with Prettier standards, which is now integrated into their continuous integration builds to ensure consistency over time.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.