New Tab Config ESLint

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-eslint --template newtab-config-eslint
cd my-newtab-config-eslint
npm install
npm run dev

What it is for

  • A new tab extension that lints its own source
  • ESLint wired into an Extension.js project without ejecting
  • Reference for adding a linter 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 eslint src to check the source with the bundled config

Permissions it asks for

This template requests no permissions.

extension.devDocumentation for extension.dev