New Tab Config Prettier

Replaces your new tab page with a simple page.

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

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

Permissions it asks for

This template requests no permissions.

extension.devDocumentation for extension.dev