Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: new tab, background service worker · Styling: CSS · Level: beginner
Create this project
npx extension@latest create my-newtab-config-prettier --template newtab-config-prettier
cd my-newtab-config-prettier
npm install
npm run dev
With an AI agent: ask it to "Create an extension from the newtab-config-prettier template." With the extension.dev MCP it runs extension_create. Setup: https://docs.extension.dev/tools/mcp/clients
What it is for
A new tab extension that formats its own source
Prettier wired into an Extension.js project without ejecting
Reference for adding a formatter to an extension codebase
First steps
Run npm run dev to launch the extension
Open a new tab to see the page this template ships
Run npx prettier --check src to see the rules this template ships