prettier-plugin-motoko
JSON →A Prettier plugin that adds formatting support for Motoko, the smart contract language of the Internet Computer (ICP). Current stable version is 0.13.0, released under the Apache 2.0 license. It integrates seamlessly into the Prettier ecosystem, allowing Motoko files to be formatted alongside other languages. Key differentiators include Motoko-specific options like motokoOrganizeImports (to group and sort imports by prefix) and motokoRemoveLinesAroundCodeBlocks (to strip extra blank lines), plus prettier-ignore comment support. It requires Prettier v2.7 or v3 as a peer dependency and ships with TypeScript type declarations.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 21d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇬🇧 United Kingdom · 🇨🇦 Canada
Resources
packageprettier-plugin-motoko ↗
API endpoints
full doc /v1/registry/prettier-plugin-motoko